Zappfy API icon

Zappfy API

Interact with Zappfy API

Overview

This node integrates with the Zappfy API to perform messaging-related actions. Specifically, for the "Mensagem" resource and the "Reagir Mensagem" operation, it allows users to send a reaction emoji to a specific message within a chat. This is useful in scenarios where you want to programmatically acknowledge or respond to messages with emojis, such as automating feedback on received messages or enhancing chat interactions without sending new text messages.

Practical examples include:

  • Automatically reacting with a thumbs-up emoji when a message contains certain keywords.
  • Sending custom emoji reactions based on message content or external triggers.
  • Managing message reactions at scale in customer support or community chat environments.

Properties

Name Meaning
Nome Da Instância The name of the Zappfy instance to connect to.
Número Do Chat The identifier (number) of the chat where the target message is located.
ID Da Mensagem The unique ID of the message that will receive the reaction.
Mensagem Própria Boolean indicating whether the message is sent by yourself (true) or by others (false).
Emoji Da Reação The emoji character to use as the reaction (e.g., 👍).

Output

The node outputs a JSON array containing the response from the Zappfy API after attempting to add the reaction to the specified message. The exact structure depends on the API response but typically includes confirmation of the reaction being added or error details if the operation failed.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the Zappfy API via an API key credential configured in n8n.
  • The node expects the base URL https://docs.zappfy.io/api-reference for API requests.
  • Proper permissions on the Zappfy account to send reactions to messages.

Troubleshooting

  • Operation not supported error: If the node throws an error stating the operation is not supported, verify that the resource is set to "messages-api" and the operation to "send-reaction".
  • Invalid message ID or chat number: Ensure the Número Do Chat and ID Da Mensagem are correct and correspond to existing chats and messages.
  • Authentication errors: Confirm that the API key credential is valid and has necessary permissions.
  • Emoji issues: Use standard emoji characters; unsupported or malformed emoji strings may cause failures.
  • Network or API downtime: Check network connectivity and Zappfy API status if requests fail unexpectedly.

Links and References

Discussion