Actions29
Overview
This node allows sending human messages through various channels (WhatsApp, Instagram, SMS) to leads managed in the BookedIn platform. Specifically, the "Send WhatsApp" operation sends a WhatsApp message to a lead identified by their Lead ID. This is useful for businesses that want to automate personalized communication with leads via WhatsApp, such as follow-ups, reminders, or promotional messages.
Practical examples:
- Sending a WhatsApp message to a lead after a sales call.
- Following up on a customer inquiry with a personalized WhatsApp message.
- Notifying leads about upcoming events or promotions via WhatsApp.
Properties
| Name | Meaning |
|---|---|
| Lead ID | The unique identifier of the lead to whom the WhatsApp message will be sent. |
| Message | The content/text of the WhatsApp message to send. |
| Chat ID | The WhatsApp chat ID associated with the conversation where the message will be sent. |
| Account ID | The business WhatsApp account ID used to send the message (Unipile account identifier). |
Output
The node outputs JSON data representing the response from the BookedIn API after sending the WhatsApp message. This typically includes details about the sent message, such as status, timestamps, and any metadata returned by the API.
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential for authenticating requests to the BookedIn API.
- The node makes HTTP POST requests to the BookedIn API endpoint for sending WhatsApp messages.
- Proper configuration of the BookedIn API credentials within n8n is necessary.
- The user must have valid Lead IDs, Chat IDs, and Account IDs configured in BookedIn.
Troubleshooting
- Invalid Lead ID or Chat ID: If the provided Lead ID or Chat ID does not exist or is incorrect, the API will likely return an error. Verify these IDs in your BookedIn account.
- Authentication errors: Ensure the API key credential is correctly set up and has sufficient permissions.
- Message delivery failures: These might occur if the WhatsApp account is not properly linked or if the recipient's number is invalid or blocked.
- Empty or missing required fields: The node requires all properties (Lead ID, Message, Chat ID, Account ID) to be provided; missing any will cause errors.
- API rate limits or downtime: If the BookedIn API is unreachable or rate-limited, the node will throw errors. Retry later or check API status.
Links and References
- BookedIn API Documentation (for detailed API endpoints and payloads)
- WhatsApp Business API Overview
- n8n documentation on HTTP Request Authentication