How it works
To pass leads from Twake to Facebook Graph API automatically, use a ready-made scenario — no manual copying, no lost leads.
- Starts when: Error Handler Trigger
- Then: Slack: Send Error Alert
- Starts when: Trigger – Fetch New Facebook Messages (Every Hour)
- Then: Fetch Facebook Conversations (Graph API)
- Then: Format Incoming Message Data
- Then: AI – Classify Message (Lead / Query / Spam)
- Check: Route Messages by Category
- If yes: Slack Approval – Lead Message
- Check: Check Lead Approval Status
- If yes: Send AI Reply – Lead Approved
- Then: Log to Google Sheets – Lead Approved
- If no: Send Fallback Reply – Lead Rejected
- Then: Log to Google Sheets – Lead Rejected
- If no: Slack Approval – Query Message
- Check: Check Query Approval Status
- If yes: Send AI Reply – Query Approved
- Then: Log to Google Sheets – Query Approved
- If no: Send Fallback Reply – Query Rejected
- Then: Log to Google Sheets – Query Rejected
- If no: Log to Google Sheets – Spam Messages
- Then: Model – GPT-4 Language Model
- Then: Parse AI Output (JSON Parser)
- Then: Memory – Conversation Context Buffer
You can launch this Twake + Facebook Graph API integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.