Messenger
Updated 2026-10-29
Using https://www.ghosty.studio/en/docs/channels/messenger.md, tell me how to connect my Facebook page to my Ghosty agent and how to make my ads learn from my sales.
Messenger takes your agent to your business's Facebook page. It answers messages, replies publicly to comments on your ads, and drops every lead on your sales board.
1. Connect the page
Messenger comes with the Sales plan, because every conversation lands on its board. If your space doesn't have it yet, the button takes you to get it.
On the agent card, go to Channels → Messenger (Facebook) → Connect Facebook Page. Sign in with the Facebook account that manages the page, pick the page and the agent starts answering it. You can have several pages; each one is answered by a single agent. Each page has its own switch to turn it on or off without disconnecting it.
What permissions Facebook asks for, and why:
Ghosty doesn't post on your page on its own and doesn't read your personal Facebook messages.
How it answers
- Messages: the agent answers, asks for the missing detail, quotes and drops the lead on your board. From the board's thread you can reply yourself or pause the agent.
- Comments: when someone comments on a post or an ad, the agent replies briefly in public and sends the full answer privately. Facebook allows one private reply per comment, and only within 7 days.
- 24-hour window: Messenger only lets you write to someone up to 24 h after their last message. After that you have to wait for them to write again; the board tells you if you try.
- Out of balance: if your agent runs out of balance, the person who writes gets a neutral line, their message stays on your board, and we notify you by push and email (at most once a day).
2. Teach Meta who actually buys
Your Messenger ads look for people who write. Many write out of curiosity. Your board knows who bought, so it can tell Meta, and Meta starts looking for people like your buyers.
- On the connected page, turn on "Teach Meta who actually buys". Ghosty creates the page's dataset in Meta.
- On the board, open Configure columns and set the Meta field on a column:
- Qualified lead: when someone reaches it (e.g. "Demo booked"). Shows up in Ads Manager as cost per qualified lead.
- Sale: when someone buys (e.g. "Customer"). It carries the card's value, in MXN. With it you can ask Meta to optimize the ad for sales.
- Done. Every time a Messenger card enters a marked column, Meta is told once, even if you move it back and forth. The card logs it in its activity.
Your agent can mark them too: "mark the Customer column as a sale for Meta".
Good to know:
- Only cards that came in through Messenger count. WhatsApp cards or the ones you added by hand are not sent.
- A sale with no value is not sent: the card asks you to add an amount. Once it has one, move it into the column again.
- If Meta rejects the event (for example, the page is missing the events permission), you'll see it next to the page. Reconnect it and it's fixed.