Skip to main content
This script looks for recent meetings in Supersonic, identifies attendees, and creates follow-up tasks for each one. Run it daily on cron, or trigger it from a webhook after each meeting ends.

How it works

  1. Search the timeline for meetings in the last 24 hours.
  2. For each meeting, extract the attendees.
  3. Create a follow-up task linked to each attendee with a due date 2 days out.
  4. Skip meetings that already have follow-up tasks (tracked via a state file).

The script

Setup

1

Install dependencies

2

Set environment variables

3

Test it

Run the script once. If you have recent meetings, it will create tasks:
Verify tasks were created:
4

Schedule with cron

Run daily at 6 PM (after the day’s meetings):
Or every 2 hours for faster follow-ups:

Customizing follow-up rules

Different due dates by meeting type

Create tasks for specific attendees only

Filter attendees to external contacts (skip your own team):

Add Slack notification when tasks are created

The state file prevents duplicate tasks. If you delete the state file, the script will reprocess the last 24 hours of meetings and may create duplicate tasks. Keep the state file backed up if this matters.
To change the lookback window, adjust the hours parameter in get_recent_meetings(). If you run the script every 2 hours, set it to hours=3 for some overlap to avoid missing meetings.