Actions76
- Message Actions
- Chat Actions
- Contact Actions
- Group Actions
- Create
- List
- Get
- Delete
- Join
- Get Join Info
- Leave
- Get Picture
- Set Picture
- Delete Picture
- Update Subject
- Update Description
- Get Security Info Admin Only
- Set Security Info Admin Only
- Get Security Messages Admin Only
- Set Security Messages Admin Only
- Get Participants
- Add Participant
- Remove Participant
- Promote Admin
- Demote Admin
- Status Actions
- Channel Actions
- Poll Actions
- Profile Actions
- LID Actions
- File Actions
Overview
This node enables interaction with WhatsApp through the Wappfy API, providing a wide range of operations across multiple resources such as sessions, messages, chats, contacts, groups, statuses, channels, profiles, linked IDs, and files. Specifically, for the File resource with the Download operation, it allows users to download a file from a message by specifying the file name.
Common scenarios where this node is beneficial include automating WhatsApp messaging workflows, managing chats and contacts, sending media or polls, and downloading files shared in WhatsApp conversations. For example, you can automatically download a document sent in a chat for further processing or archiving.
Properties
| Name | Meaning |
|---|---|
| File Name | Name of the file to download |
Output
The node outputs the response from the Wappfy API call in the json field of the output data. For the File Download operation, this typically contains the file data or metadata returned by the API corresponding to the requested file name.
If the API returns binary data (e.g., the actual file content), it would be included in the response, but the node's code does not explicitly handle binary data conversion or attachment; it simply passes the API response as JSON.
Dependencies
- Requires an active Wappfy API account.
- Requires configuration of credentials including:
- Base URL of the Wappfy API.
- Instance name identifying the WhatsApp session.
- An API key credential for authentication.
- The node makes HTTP requests to the Wappfy API endpoints.
Troubleshooting
- Common issues:
- Incorrect or missing API credentials will cause authentication failures.
- Specifying a non-existent or incorrect file name will result in errors or empty responses.
- Network connectivity issues may prevent successful API calls.
- Error messages:
- Authentication errors usually indicate invalid or missing API keys.
- "File not found" or similar errors indicate the specified file name does not exist on the server.
- Resolution tips:
- Verify that the API key and instance name are correctly configured.
- Confirm the exact file name to download matches what is available in the WhatsApp messages.
- Check network access and firewall settings to allow outbound requests to the Wappfy API.
Links and References
- Wappfy API Documentation (example link, replace with actual)
- WhatsApp Business API general info: https://www.whatsapp.com/business/api
- n8n documentation on creating custom nodes: https://docs.n8n.io/integrations/creating-nodes/