Prerequisites
- A Twexapi API key
- A Zapier account with Webhooks by Zapier
- An MCP-capable agent connected to
https://api.twexapi.io/mcp - A destination app such as Slack, Google Sheets, Airtable, HubSpot, or Gmail
Setup
1
Create a Zapier webhook
Use Webhooks by Zapier and choose Catch Hook.
2
Ask your MCP agent for strict JSON
Include
tweet_id, author_username, text, created_at, route_used, and next_cursor.3
POST the handoff JSON
Send the agent result to the Zapier webhook URL.
4
Map fields
Use
tweet_id as the dedupe key and map text fields into your destination app.Agent prompt
Zapier field mapping
Private integration blueprint
If you package Twexapi as a private Zapier integration, start with a small reliable surface.
Use REST for packaged actions and MCP for agent-driven discovery workflows.
REST action example
Testing checklist
- Test the Catch Hook with a real Twexapi handoff payload.
- Use
tweet_idas the dedupe key before writing to a destination app. - Store
next_cursorin Storage by Zapier if a later Zap should continue pagination. - Keep write actions as drafts until a human approves the final text.