节点与集成
WhatsApp Trigger
Use the WhatsApp Trigger node to respond to events in WhatsApp and integrate WhatsApp with other applications. n8n has built-in support for a wide range of WhatsApp events, including account, message, and phone number events.
On this page, you'll find a list of events the WhatsApp Trigger node can respond to, and links to more resources.
Events
- Account Review Update
- Account Update
- Business Capability Update
- Message Template Quality Update
- Message Template Status Update
- Messages
- Phone Number Name Update
- Phone Number Quality Update
- Security
- Template Category Update
Related resources
n8n provides an app node for WhatsApp. You can find the node docs here.
View example workflows and related content on n8n's website.
Refer to WhatsApp's documentation for details about their API.
Common issues
Here are some common errors and issues with the WhatsApp Trigger node and steps to resolve or troubleshoot them.
Workflow only works in testing or production
WhatsApp only allows you to register a single webhook per app. This means that every time you switch from using the testing URL to the production URL (and vice versa), WhatsApp overwrites the registered webhook URL.
You may have trouble with this if you try to test a workflow that's also published. WhatsApp will only send events to one of the two webhook URLs, so the other will never receive event notifications.
To work around this, you can disable your workflow when testing:
- Go to your workflow page.
- From the workflow settings dropdown, click Unpublish to disable the workflow temporarily.
- Test your workflow using the test webhook URL.
- When you finish testing, click Publish. The production webhook URL should resume working.
官方原文和授权
本页来自 N8N 英文官方网站固定快照,并转换成 xueai 静态页面。内容以 N8N 持续更新的官方页面为准。