-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f3969dc
commit 8f700f8
Showing
7 changed files
with
205 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
[<- Back](/) | ||
|
||
# WhatsApp Typebot Integration | ||
|
||
## Typebot Workflow | ||
[**typebot.json**](./typebot.json) | ||
|
||
![](typebot.png) | ||
|
||
## N8n Workflow | ||
[**template.json**](./template.json) | ||
|
||
![](workflow.png) | ||
|
||
## How it works | ||
Integrate | ||
[Typebot](https://typebot.io/) | ||
with | ||
[Self-Hosted WhatsApp API (WAHA)](https://waha.devlike.pro) | ||
to send messages to WhatsApp via | ||
[n8n](https://n8n.io/). | ||
|
||
## Set up steps | ||
1. Import [typebot.json](./typebot.json) to **Typebot** | ||
2. Copy [template.json](./template.json) and paste it in **n8n** (Ctrl+V), or import it from URL | ||
3. Configure **WAHA API** credentials and select it for all WAHA nodes | ||
4. Configure **Typebot** node with your `typebot.url` and `typebot.bot.id` | ||
5. Configure **Postgres** nodes with your Postgres credentials | ||
6. Run **Migration** block to create the necessary tables | ||
7. Get **Webhook URL** (production one) from **WAHA Trigger** node | ||
8. Configure your **WAHA session** to send webhooks with `message` type to the **Webhook URL** | ||
9. **Active** your workflow in n8n | ||
|
||
## Notes | ||
### Buttons | ||
For [Buttons](https://docs.typebot.io/editor/blocks/inputs/buttons) block in Typebot n8n allows you to answer | ||
with a simple number. | ||
|
||
For example, if you have buttons: | ||
1. Invoice | ||
2. Payment | ||
|
||
and want to select **Invoice** you can send both **1** and **Invoice** back to WhatsApp bot | ||
|
Oops, something went wrong.