Zapier Webhooks Action

Zapier Slack AI Memory: Persistent Memory for Slack Zaps

Zapier runs each Zap in isolation — your Slack automation forgets every user the moment the Zap completes. retainr adds persistent memory via Webhooks by Zapier: search before the AI step, store after.

Add Slack memory to Zapier in 3 steps

1

Get your retainr API key

Create a free retainr account at retainr.dev/dashboard. Copy your API key. Takes 30 seconds.

2

Add Webhooks GET to search memory

Before the AI step in your Zap, add a Webhooks by Zapier GET action. URL: https://api.retainr.dev/v1/memories/search?namespace=slack:{user_id}&q={message}&limit=5. Header: Authorization: Bearer YOUR_KEY. Map results into your AI step.

3

Add Webhooks POST to store memory

After the AI step, add a Webhooks by Zapier POST action. URL: https://api.retainr.dev/v1/memories. Body: namespace (slack:{user_id}), content (user message + AI response). Your Zap now builds permanent Slack user memory.

Zapier Slack memory — frequently asked questions

How do I trigger a Zapier Zap from Slack messages?
Zapier has a native Slack integration. Use the New Message in Channel or New Direct Message trigger. Select your Slack workspace and the channel to monitor. Zapier fires the Zap on each new message automatically.
How do I scope memory per user in a Slack Zap?
Map the sender user ID from the Slack trigger (user_id field) to the namespace: slack:{user_id}. Each Slack user gets completely isolated memory. Use the same namespace in both the search and store Webhooks steps.
Can I use this for a Slack channel where all members share memory?
Yes. Use the channel ID as the namespace: slack:channel:{channel_id}. All messages in the channel contribute to the shared memory pool, and searches return relevant context from any member.
How do I inject the retainr results into my AI step in Zapier?
The Webhooks GET response contains a results JSON array. Map the result content to your AI step system prompt field. If you need to combine multiple results into one string, add a Formatter by Zapier step between the search and AI steps to join the values.
What Zapier plan do I need?
Multi-step Zaps require Zapier Starter or above. The Slack memory Zap needs at least 4 steps: Slack trigger, Webhooks GET (search), AI action, Webhooks POST (store). Zapier Free only supports single-action Zaps.

Give your Zapier Slack Zap real memory

1,000 memory operations per month. Free forever. No credit card required.

Start free