---
name: discount-code
description: "People comment CODE and get your discount code, its terms in one line and your shop link in DMs. Set up in Chatfuel from Claude or ChatGPT, on one post."
---

# 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.

Works on: Instagram.
It changes your Chatfuel setup only after your yes.
Page: https://chatfuel.com/skills/discount-code

## How to use it

Paste the prompt into Claude or ChatGPT with the Chatfuel connector on. An assistant that has the Chatfuel MCP server (https://mcp.chatfuel.com/panel, OAuth sign-in) can follow it from this file. It shows every change before making it.

## Prompt

```text
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
```

## Steps

1. List your posts and what replies there now
2. Show the reply under the comment and the DM (waits for your yes)
3. Turn it on for that post only
4. Test three messages
5. Comment the word from a second account (your 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.

## What it changes

One comment reply on one post and answers about the code, after your yes.

## Limits

- Chatfuel doesn't create the code or check if it was used. You make it in your shop.
- It never invents terms or an end date. Give it the ones you have.
- The reply under the comment can't be tried in a test chat. You check it with 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.

## FAQ

### Does Chatfuel create the discount code?

No. You create it in your shop and give it to the assistant.

### Can someone get the code again?

Yes. If they write that they lost it, the assistant sends it again from your saved answer.

### Will it say the code works on sale items?

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](https://chatfuel.com/skills/sell-in-dms.md)
- [Get calls from your Reel](https://chatfuel.com/skills/reel-to-calls.md)
- [Shows where your DMs are losing money](https://chatfuel.com/skills/inbox-audit.md)
- [Book clients on WhatsApp when you're busy](https://chatfuel.com/skills/whatsapp-booking.md)
