

How to Build an AI-Powered Q&A Bot with Make
Automatically send Slack mentions to GPT-4 and post AI responses as thread replies.
Steps and UI details are based on platform versions at time of writing — check each platform for the latest interface.
Best for
Teams wanting a reliable AI bot that handles errors gracefully and works across all Slack channels
Not ideal for
Use cases requiring instant responses or advanced AI features like function calling
Sync type
pollingUse case type
notificationReal-World Example
A 25-person marketing agency uses this to answer client questions in shared Slack channels. Before automation, senior staff interrupted deep work 8-10 times daily to answer routine questions about project status, pricing, and processes. Now GPT-4 handles 70% of questions instantly, and complex queries still get human attention.
What Will This Cost?
Drag the slider to your expected monthly volume.
Each platform counts differently — Zapier: 1 task per trigger. Make: 1 operation per module per record. n8n: 1 execution per run.





Prices shown for annual billing. Based on published pricing as of April 2026.
Estimated ROI
1000
min saved/mo
$583
labor value/mo
Free
no platform cost
Based on ~2 min manual effort per operation at $35/hr fully loaded labor cost.
Implementation
Import this workflow directly into Make
Copy the pre-built Make blueprint and paste it straight into Make. All modules, filters, and field mappings are already configured — you just need to connect your accounts.
Before You Start
Make sure you have everything ready.
Field Mapping
Map these fields between your apps.
| Field | API Name | |
|---|---|---|
| Required | ||
| Channel ID | channel | |
| Message Text | text | |
| Message Timestamp | ts | |
| AI Response | choices[0].message.content | |
2 optional fields▸ show
| User ID | user |
| Bot User ID | bot_id |
Step-by-Step Setup
Dashboard > Create Scenario > Slack
Create New Scenario
Start a new Make scenario to handle the Slack mention trigger. This will be your automation's foundation.
- 1Click 'Create a new scenario' from the Make dashboard
- 2Search for 'Slack' in the app selector
- 3Select 'Watch Events' trigger module
- 4Connect your Slack workspace by clicking 'Add' and following OAuth
Slack Module > Settings
Configure Slack Event Trigger
Set up the trigger to fire when your bot gets mentioned in any channel or thread. This filters for actual bot mentions, not all messages.
- 1Select 'app_mention' from the Event Type dropdown
- 2Choose the Slack team from the Team dropdown
- 3Leave Channel field empty to monitor all channels
- 4Click 'OK' to save the trigger settings
Scenario > Add Module > OpenAI
Add OpenAI Chat Module
Connect OpenAI's GPT-4 API to process the question from Slack. This module sends the user's message and returns the AI response.
- 1Click the '+' button to add a module after Slack
- 2Search for 'OpenAI' and select it
- 3Choose 'Create a Chat Completion' action
- 4Add your OpenAI API key in the connection field
OpenAI Module > Configuration
Map Question to OpenAI
Configure the OpenAI module to send the Slack message text to GPT-4. The model field determines which AI version processes your questions.
- 1Set Model to 'gpt-4' from the dropdown
- 2In the Messages array, add a new item
- 3Set Role to 'user'
- 4Map Content to the Slack event text field
- 5Set Max Tokens to 500
Scenario > Add Module > Slack > Create Message
Add Slack Reply Module
Set up a second Slack module to post the AI response back as a thread reply. This keeps conversations organized under the original question.
- 1Click '+' to add another module after OpenAI
- 2Select Slack again, then 'Create a Message'
- 3Connect to the same Slack workspace
- 4Choose 'Channel' as the destination type
Slack Reply Module > Message Settings
Configure Thread Reply
Map the AI response to post as a threaded reply to the original mention. The thread_ts parameter makes this a reply, not a new message.
- 1Map Channel from the original Slack event channel field
- 2Map Text to the OpenAI response content
- 3Set Thread TS to the original message timestamp
- 4Enable 'As User' to post as your bot
Right-click Module > Add Error Handler
Add Error Handling
Set up error handling for API failures or rate limits. Without this, failed requests break the entire scenario.
- 1Right-click the OpenAI module and select 'Add error handler'
- 2Choose 'Break' directive from the options
- 3Add a filter for HTTP 429 errors (rate limits)
- 4Set resume execution after 60 seconds
Scenario > Run Once
Test the Scenario
Run a test to verify the complete flow works correctly. Testing catches field mapping issues before you go live.
- 1Click 'Run once' at the bottom of the scenario
- 2Go to Slack and mention your bot with a test question
- 3Return to Make and check the execution log
- 4Verify the AI response posted as a thread reply
Scenario > Scheduling Settings
Schedule the Scenario
Turn on the scenario to run automatically. The polling interval determines how quickly your bot responds to mentions.
- 1Click the 'Scheduling' toggle to ON
- 2Set interval to 'Every 2 minutes'
- 3Click 'OK' to save the schedule
- 4Click 'Save' to activate the scenario
Drop this into a Make custom function.
JavaScript — Custom Function{{if(contains(1.text, "urgent") or contains(1.text, "ASAP"), "gpt-4", "gpt-3.5-turbo")}}▸ Show code
{{if(contains(1.text, "urgent") or contains(1.text, "ASAP"), "gpt-4", "gpt-3.5-turbo")}}... expand to see full code
{{if(contains(1.text, "urgent") or contains(1.text, "ASAP"), "gpt-4", "gpt-3.5-turbo")}}Scaling Beyond 200+ questions/day+ Records
If your volume exceeds 200+ questions/day records, apply these adjustments.
Batch API calls
Switch to OpenAI's batch API for non-urgent questions. Responses take 10-60 minutes but cost 50% less than real-time API calls.
Add response caching
Store common questions and answers in Make's data store. Check for existing answers before calling OpenAI to reduce API usage and speed up responses.
Going live
Production Checklist
Before you turn this on for real, confirm each item.
Troubleshooting
Common errors and how to fix them.
Frequently Asked Questions
Common questions about this workflow.
Analysis
Use Make for this if you need reliable error handling and complex message formatting. Make's visual builder makes it easy to add filters for specific channels or question types, and the error handling prevents lost questions when OpenAI goes down. The polling trigger responds within 2 minutes of mentions. Skip Make if you need instant responses — Slack's real-time API works better through custom code.
This workflow burns 3 operations per question: Slack trigger, OpenAI API call, and Slack reply. At 200 questions per month, that's 600 operations total. The Core plan at $9/month includes 10,000 operations, so you're well covered. Zapier would cost $20/month for the same volume on their Professional plan. N8n self-hosted is free but requires server management.
Zapier handles Slack's real-time events better — their trigger fires instantly instead of Make's 2-minute polling. N8n's OpenAI integration includes function calling and vision models that Make doesn't support yet. But Make wins on error handling and data transformation. When OpenAI hits rate limits, Make's retry logic keeps working while Zapier often drops requests.
You'll hit OpenAI's rate limits at 50+ questions per hour — the API allows 3 requests per minute on free tier, 3,500 per minute on paid. Make's error handler manages this, but your bot will be slow during high usage. Slack's app_mention events sometimes duplicate during network issues, so add a filter to check message timestamps and avoid processing the same question twice.
Ideas for what to build next
- →Add conversation memory — Store recent questions in Make's data store so the bot remembers context from previous messages in the same thread.
- →Create knowledge base integration — Connect your company's documentation or FAQ database to provide more accurate, specific answers than GPT-4's general training.
- →Build usage analytics — Send bot interaction data to Google Sheets or your analytics platform to track which questions are most common and optimize responses.
Related guides
How to Share Notion Meeting Notes to Slack with Pipedream
~15 min setup
How to Share Notion Meeting Notes to Slack with Power Automate
~15 min setup
How to Share Notion Meeting Notes to Slack with n8n
~20 min setup
How to Send Notion Meeting Notes to Slack with Zapier
~8 min setup
How to Share Notion Meeting Notes to Slack with Make
~12 min setup
How to Create Notion Tasks from Slack with Pipedream
~15 min setup