Zappfy API icon

Zappfy API

Interact with Zappfy API

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 Verificar Número (Check Number) operation, the node verifies a list of phone numbers to determine their status or validity within the Zappfy system.

This node is beneficial in scenarios where you need to validate multiple phone numbers before sending messages or performing other chat-related operations, ensuring that only valid or registered numbers are processed. For example, a marketing automation workflow could use this node to filter out invalid contacts from a campaign list.

Properties

Name Meaning
Nome Da Instância The name of the Zappfy instance to connect to.
Números A comma-separated list of phone numbers to verify.

Output

The node outputs a JSON array where each element corresponds to the verification result of one of the input phone numbers. Each item typically contains information about the number's status, such as whether it is valid, registered, or any other metadata returned by the Zappfy API related to number verification.

If the API supports binary data output, it is not indicated in the provided code or properties, so the output is expected to be purely JSON.

Dependencies

  • Requires an active connection to the Zappfy API.
  • An API authentication token or key credential must be configured in n8n to authorize requests to the Zappfy service.
  • Network access to https://docs.zappfy.io/api-reference or the actual API endpoint base URL.

Troubleshooting

  • Operation Not Supported Error: If you select an unsupported operation or resource, the node throws an error stating the operation is not supported. Ensure the resource is set to "chat-api" and the operation to "check-number".
  • Invalid or Missing Credentials: Failure to authenticate with the Zappfy API will cause request errors. Verify that the API key or authentication token is correctly configured.
  • Malformed Numbers Input: The "Números" property expects a comma-separated string of phone numbers. Incorrect formatting may lead to unexpected results or API errors.
  • Network Issues: Connectivity problems to the Zappfy API endpoint will prevent execution. Check network settings and API availability.

Links and References

Discussion