How it works
- Search the timeline for meetings in the last 24 hours.
- For each meeting, extract the attendees.
- Create a follow-up task linked to each attendee with a due date 2 days out.
- 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.