Actions10
- Message Actions
- Chat Actions
- User Actions
Overview
This node, "WhatsApp Outreach by Boost.space," enables interaction with WhatsApp messaging through various operations on messages, chats, and users. Specifically, the Retrieve Attachment operation under the Message resource allows users to download an attachment from a specific WhatsApp message by providing the message ID and the attachment ID.
Common scenarios for this operation include:
- Automatically fetching media files (images, videos, documents) sent or received in WhatsApp conversations for archiving or processing.
- Integrating WhatsApp attachments into other workflows such as CRM systems, file storage, or content management platforms.
- Extracting attachments for further analysis or automated responses.
Example use case: A customer support team uses this node to retrieve images attached to customer queries in WhatsApp chats and automatically upload them to their ticketing system.
Properties
| Name | Meaning |
|---|---|
| Message ID | The unique identifier of the WhatsApp message containing the attachment to retrieve. |
| Attachment ID | The unique identifier of the attachment within the specified message to be downloaded. |
Output
The output is an array of items corresponding to each input item processed. Each item contains:
json: The original input JSON data passed to the node.binary.file: The binary data of the retrieved attachment file. The filename is extracted from the HTTP response headers if available; otherwise, a default name is used.
This binary output can be used downstream in n8n workflows to save the file, send it via email, or process it further.
Dependencies
- Requires an API key credential for authenticating requests to the Boost.space WhatsApp Outreach API.
- The node communicates with a remote API endpoint hosted at a specific URL (a Supabase function URL).
- The node uses helper methods to handle authenticated HTTP requests and to prepare binary data from raw HTTP responses.
Troubleshooting
- Missing or invalid Message ID / Attachment ID: Ensure that both IDs are correctly provided and correspond to existing messages and attachments in your WhatsApp account.
- Authentication errors: Verify that the API key credential is valid and has the necessary permissions.
- Empty or corrupted attachment data: This might occur if the attachment was deleted or is no longer accessible. Confirm the attachment's availability in WhatsApp.
- Network or API endpoint issues: Check connectivity and whether the external API service is operational.
- Filename extraction failure: If the attachment filename is not returned by the API, the node assigns a default name; you may want to rename files downstream.
Links and References
- Boost.space WhatsApp Outreach API Documentation (hypothetical link as no direct link is in code)
- n8n Binary Data Handling
- Supabase Functions
If you need details on other operations or resources, feel free to ask!