I’ve wanted hook up my agents to Slack some easy way … and did this way and it seems to work pretty good. Haven’t gotten the LLM hookup yet but the mechanics are there! —JM
Part 1: Vercel Setup
In your Project Settings> Protection Bypass for Automation set a secret key.

In your Python Flask App use this doc and it will look like this: (HT Carbon)

Part 2: Zapier Setup
Module 1: Slack
Slack:
- New Message Posted To Channel

Slack:
- Trigger for Bot Messages FALSE
- Optimized Data YES

Module 2: Webhook
Webhook:
- Event: POST

Webhook:
- Payload Type: JSON
- Data: Map the
inputto1. Textoutput from Slack - Wrap Request In Array: False
- Unflatten: Yes
- Headers:
x-vercel-protection-bypassto whatever you’ve set it to in Vercel

Module 3: Slack
Event:
- Send Channel Message

Slack:
- Message-text:
2. Echo - Send as a Bot: Yes
- …
- Send Channel Message: No

Part 3: Run it and smile

You must be logged in to post a comment.