Prerequisites
- A Twexapi API key
- A Make scenario with a Custom webhook
- An MCP-capable agent connected to Twexapi MCP
- A destination module such as Sheets, Airtable, Notion, Slack, or Data store
Scenario
- Add a Custom webhook module.
- Send Twexapi handoff JSON from your MCP-capable agent.
- Use Iterator on the
tweetsarray. - Add filters for topics, authors, or engagement.
- Write rows to Airtable, Google Sheets, Notion, or a database.
Agent prompt
Iterator schema
Direct REST continuation
For scheduled scenarios, call Twexapi REST directly from Make’s HTTP module and storenext_cursor in a Make data store.
HTTP module setup
| Field | Value |
|---|---|
| Method | POST or GET from the selected endpoint |
| URL | https://api.twexapi.io plus the relative path |
| Header | Authorization: Bearer YOUR_API_KEY |
| Body type | Raw JSON for POST requests |
Router branches
| Branch | Condition | Action |
|---|---|---|
| Empty results | tweets length is 0 | Stop quietly. |
| High engagement | like_count above threshold | Send Slack alert. |
| Continue page | has_more is true | Store next_cursor. |
| Error | status is 401, 403, or 429 | Route to an ops notification. |
Testing checklist
- Run once with a small
count, such as5. - Confirm the Iterator receives one bundle per tweet.
- Confirm
tweet_idis used for dedupe before writing rows. - Confirm Make data store contains the latest
next_cursor.