Integrate Typebot with Self-Hosted WhatsApp API (WAHA) to send messages to WhatsApp via n8n.
- Import typebot.json to Typebot
- Copy template.json and paste it in n8n (Ctrl+V), or import it from URL
- Configure WAHA API credentials and select it for all WAHA nodes
- Configure Typebot node with your
typebot.url
andtypebot.bot.id
- Configure Postgres nodes with your Postgres credentials
- Run Migration block to create the necessary tables
- Get Webhook URL (production one) from WAHA Trigger node
- Configure your WAHA session to send webhooks with
message
type to the Webhook URL - Active your workflow in n8n
For Buttons block in Typebot n8n allows you to answer with a simple number.
For example, if you have buttons:
- Invoice
- Payment
and want to select Invoice you can send both 1 and Invoice back to WhatsApp bot
You can use Input Text Typebot block to allow attachments.
Then you can send the file to the WhatsApp bot and process it in n8n or Typebot.
- Text
- Image
- Video
- Embed
- Audio
- Text
- Text + File attachment (one)
- Number
- Website
- Date
- Phone
- Buttons
- Pic choice
- Payment
- Rating
- File - use
Text + File
input instead