Suggest topics before a team session in Slack with AI
The day before your team's session, a bot asks who's coming and what they want to work on. Twelve hours later, AI suggests focus areas from the replies and the week's messages.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/suggest-topics-before-a-team-session-in-slack-with-ai/
Paste into Claude, ChatGPT, Cursor or any agent.
- Category
- Personal Productivity · Meeting management
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/suggest-topics-before-a-team-session-in-slack-with-ai
Set it up with the CLI
- Add it. Copies the folder into
zaps/suggest-topics-before-a-team-session-in-slack-with-ai/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/suggest-topics-before-a-team-session-in-slack-with-ai - Fill in the values in
config.ts, and in any other file the list marks. Replace each one as its comment and SKILL.md say. - Deploy it. Asks for any value still left, signs you in to Zapier if you aren't, then publishes it to your account.
npx zap-pack deploy suggest-topics-before-a-team-session-in-slack-with-ai - Check it. Its recent runs, with status and errors.
npx zap-pack logs suggest-topics-before-a-team-session-in-slack-with-ai
zaps/suggest-topics-before-a-team-session-in-slack-with-ai/
- README.mdWhat it does, for people
- SKILL.mdHow an agent sets it up: what to ask you, and how to test it
- config.tsIts settings 1 to fill in
- connections/ai.tsThe
aiaccount it uses - connections/google-calendar.tsThe
google-calendaraccount it uses - connections/slack.tsThe
slackaccount it uses - triggers/event-start.tsWhat starts it:
google-calendarevent_start2 to fill in - workflow.tsThe code; each
ctx.stepis a step in the Zap
Agents: add --yes to any command so it never prompts. When it needs an answer only the user can give, it stops and names the flag that supplies it.
SKILL.md
View MarkdownWhat it does
- Trigger: one day before each event on the chosen calendar whose title contains the session's name (
google-calendar,event_start). - Slack gets a reminder in the team channel, posted as the bot: "[session name] is tomorrow. React with :+1: if you're coming, and reply in this thread with a problem you'd like to work on."
- Wait: the Zap pauses for
WAIT_HOURS(12) so people can react and reply. - Workflow reads the reminder's reactions and replies, and the channel's messages from the last
LOOKBACK_DAYS(7) days. The bot's own posts and Slack's notices, such as "has joined the channel", are left out. - AI by Zapier suggests two or three focus areas. What people asked for in the replies comes first, then problems from the week that came up more than once or that someone was stuck on. It opens with how many people reacted that they're coming. If nobody replied and the week was quiet, it says the floor is open.
- Slack posts the suggestions as a reply in the reminder's thread.
Ask the user
Each REPLACE_… value is set per person.
| Setting | Where | What goes there |
|---|---|---|
REPLACE_SLACK_CHANNEL |
SLACK_CHANNEL in config.ts |
The channel the team talks in. The reminder goes there and the week's messages come from there. Look up its ID with their Slack connection |
REPLACE_CALENDAR_ID |
calendarid in triggers/event-start.ts |
The calendar that holds the session. Look up its ID with their Google Calendar connection |
REPLACE_EVENT_NAME |
search_term in triggers/event-start.ts |
The session's name as it appears on the calendar, such as "Office hours" |
With the defaults, the reminder goes out 24 hours before the session and the suggestions 12 hours before, which is overnight for most sessions. Ask when they'd like each one to land, and set time_length in the trigger and WAIT_HOURS in config.ts to match.
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/suggest-topics-before-a-team-session-in-slack-with-ai, replace each REPLACE_… value as this file says, then run npx zap-pack deploy suggest-topics-before-a-team-session-in-slack-with-ai, which signs the user in to Zapier when it gets there. Otherwise build with Zapier MCP, as the steps below say. Either way, name the workflow Suggest topics before a team session in Slack with AI (zapier.sh/suggest-topics-before-a-team-session-in-slack-with-ai): zap-pack takes that name from this file's title, so leave the title as it is, and with Zapier MCP give the workflow that name when you create it. No Zapier MCP tools? Read https://docs.zapier.com/mcp/get-started/quickstart.md and follow the page for the app you are running in to get the user connected, then continue with this build.
- Accounts: bind
google-calendarto the user's Google Calendar connection for the calendar with the session, andslackto a Slack connection that can read and post in the team channel.aiuses AI by Zapier and needs no account of its own. - Source: publish
workflow.tsandconfig.ts, with theREPLACE_values set to the user's answers.triggers/event-start.tsandconnections/are settings, not code: set the workflow's trigger and connection bindings from them. The trigger file names the app by its slug; for the trigger'sselected_api, callsearch_triggerswith that slug, find the row whosekeyis the trigger'sevent, and use<app_key>@<app_version>from it. - Build guide: load Zapier's build guide with
get_zapier_skill("zapier:build-workflows")and follow it to create, test and publish the workflow. - Fields: inspect the Slack
channel_messageaction and the AI by Zapierget_completionaction with the user's connections before the first test run, and fix any key inworkflow.tsthat doesn't match. Confirm the calendar trigger's payload hassummary(the event's title), and map it if the name differs.
Test it
Set WAIT_HOURS to 0.05 (three minutes) and SLACK_CHANNEL to a test channel the user owns, then run this sample as a draft test (run_workflow_draft in Zapier MCP):
{
"summary": "[install-test] Team build session"
}
When the reminder appears, post a reply in its thread labelled [install-test], such as "[install-test] I'd like to work on getting our weekly report Zap to stop timing out on big sheets." Confirm that after three minutes the thread gets the suggestions, with the test reply as the first focus area. Then set WAIT_HOURS and SLACK_CHANNEL back. The user deletes the test messages, not the agent.
Notes
- Everything posted in the channel that week goes to AI by Zapier. Use the team's working channel and keep sensitive threads somewhere else.
- Replies to the reminder are the strongest signal. If the user rewrites
REMINDER_TEXT, keep the ask for a reply in the thread. - Messages people post through other Zaps count as theirs. Only posts under this Zap's
BOT_NAMEand Slack's own notices are left out.