Actions48
- Chat Actions
- Mensagem Actions
- Grupo Actions
- Perfil Actions
Overview
The node "Zappfy API" provides integration with the Zappfy service, allowing users to interact programmatically with its API. Specifically, for the Chat resource and the Editar Mensagem (Edit Message) operation, this node enables editing an existing chat message by specifying the instance, contact, message ID, and new text content.
This functionality is useful in scenarios where a user needs to update or correct messages that have already been sent via the chat system integrated through Zappfy. For example, if a message was sent with a typo or outdated information, this node can be used to modify that message without sending a new one.
Properties
| Name | Meaning |
|---|---|
| Nome Da Instância | The name of the Zappfy instance to use for the operation. |
| Contato | The contact's phone number or identifier whose message will be edited. |
| ID Da Mensagem | The unique identifier of the message that should be edited. |
| Nova Mensagem | The new text content that will replace the original message text. |
Output
The node outputs a JSON array containing the response from the Zappfy API after attempting to edit the message. This typically includes confirmation details such as success status, updated message data, or error information if the operation failed.
No binary data output is indicated or expected for this operation.
Dependencies
- Requires an active connection to the Zappfy API.
- An API authentication credential (API key or token) must be configured in n8n for the Zappfy API.
- Network access to
https://docs.zappfy.io/api-referenceor the actual Zappfy API endpoint is necessary.
Troubleshooting
- Operation not supported error: If you receive an error stating the operation is not supported, verify that the resource is set to "chat-api" and the operation to "update-message" (Editar Mensagem). Also, ensure the node version supports this operation.
- Invalid or missing parameters: Ensure all required properties (instance name, contact, message ID, new message text) are correctly filled. Missing or incorrect values may cause API errors.
- Authentication failures: Confirm that the API credentials are valid and have sufficient permissions to edit messages.
- Network issues: Check connectivity to the Zappfy API endpoint and firewall settings that might block requests.
Links and References
- Zappfy API Documentation (official API reference for detailed endpoint info)
- n8n documentation on Creating Custom Nodes for further customization guidance