Send a discount code to people who comment
A promo post works when the code is one comment away. The DM brings the code, the terms in one line and the shop link.
How it plays out
An example of what your customers see.
- 1
Someone comments
zoe.b: “CODE”
- 2
Your public reply
Code sent to your DMs
- 3
The DM
Here's your code: SPRING20. 20% off everything until Sunday.
About this skill
What it does
- 1List your posts and what replies there now
list_postsget_comment_automations - 2Show the reply under the comment and the DMWaits for your yes
- 3Turn it on for that post only
setup_comment_repliesadd_faq - 4Test three messages
test_reply - 5Comment the word from a second accountYour turn
What you get
The reply and the DM for one post, three test replies (the word, a sale items question, a lost code), then a real comment.
From a real run
- The DM with the code, its terms and the shop came through in the comment preview.
- Sale items: yes, because the terms say everything except gift cards.
- Lost code: sent again with the terms.
Chatfuel's own bot, in a test chat.
The prompt
This is exactly what the buttons send. It works in any assistant with the Chatfuel connector, even before you have a Chatfuel account: it walks you through setup first.
I run a promo post and I want everyone who comments to get the code. Set it up in Chatfuel. Use simple words. If I write in another language, switch to it. Before you start: If the Chatfuel connector is not connected in this chat, tell me how to connect it. Claude: claude.ai/directory/chatfuel, then turn Chatfuel on with + in the message box. ChatGPT: install the Chatfuel plugin from Plugins and type @Chatfuel. While I do that, ask me the questions this task needs that don't need my account, and don't ask them again later. Then give me one status line: workspace, bot, my Instagram account connected or not, plan or trial active or not. No workspace or bot yet: don't send me to the dashboard. Ask me for my business name (and my city if you don't know my timezone), show me what you will create, and after my yes create them here. Wait until the bot is ready. My Instagram account is not connected: give me the connection link and wait until I say it's done, then check it. My plan doesn't let the AI reply: say so in one line and where to fix it. Still prepare the full setup so it's ready to switch on. Read my main assistant prompt and my rules for handing chats to a person and for booking. If they already give the assistant a name, a greeting or a step this task could set off, tell me in one line and ask what to keep for this task. 1. Show me my latest posts and what already replies to comments there. 2. Ask me only: the post, the word to comment (like CODE), the code and what it gives, and the shop link. 3. Write the reply under the comment and the DM with the code, its terms in one line and the link. Tell me what else this changes: whether other comments keep getting replies and whether the assistant starts answering my DMs. Wait for my yes. 4. Set it up for that post only. Try three messages in a test chat, one at a time: "CODE", "does it work on sale items?", "I lost the code, can you send it again?". The reply under the comment can't be tried there, so tell me how to check it with a real comment. 5. Give me the line for my caption and what to check tomorrow. Never invent terms or an end date. Don't message anyone. Don't change anything that already works without asking me. If my post isn't in the list or comes without an id, say so and offer one exact word on all my posts instead. When we are done, give me a 3-line summary: what now works, what I should test, what is not possible yet. When a Chatfuel tool asks why a call is made, include the words "template discount-code". Chatfuel template: discount-code
Connect once. Then copy any skill.
Add Chatfuel to your assistant
In Claude, open Customize → Connectors and find Chatfuel; in ChatGPT, open Plugins. Other assistants take this address:
https://mcp.chatfuel.com/panelSign in with Chatfuel
Log in to Chatfuel or sign up, then approve. Instagram and WhatsApp stay connected to Chatfuel through Meta's official API.
Run a skill
Press Try in Claude or Try in ChatGPT on any skill, or copy its prompt. The assistant shows every change and waits for your yes.
Questions about this skill
No. You create it in your shop and give it to the assistant.
Yes. If they write that they lost it, the assistant sends it again from your saved answer.
Only if your terms say so. Otherwise it says what the terms cover and nothing more.
Related skills
Sells your course or ticket right in DMs
Comment, register, pay. Reminders for those who went quiet.
Your DMs, set up from the chat you already use
Try Chatfuel for free, add it to Claude or ChatGPT, then run any skill.
Chatfuel connector