SacNews - Relacionamento icon

SacNews - Relacionamento

Interação com a Plataforma de Relacionamento via WhatsApp - SacNews

Actions59

Overview

This node integrates with a WhatsApp Business API platform to perform various operations related to customer relationship management and messaging. Specifically, the "Templates - Listar - Todos" operation allows users to list all WhatsApp message templates associated with a given channel ID. This is useful for scenarios where you want to retrieve and manage predefined message templates used in automated or manual WhatsApp communications.

Practical examples include:

  • Fetching all available WhatsApp message templates for a specific business channel to display or audit them.
  • Using the retrieved templates to automate sending standardized messages to customers.
  • Integrating template listing into workflows that dynamically select message templates based on context.

Properties

Name Meaning
Listar Templates WhatsApp Business API (notice) A notice indicating this operation fetches WhatsApp Business API templates by ID.
ID Do Canal (templateId) The ID of the WhatsApp Business API channel for which to list all message templates.

Output

The node outputs JSON data containing the list of WhatsApp message templates retrieved from the specified channel. Each item in the output typically represents a template with its details such as name, language, content, and other metadata defined by the WhatsApp Business API.

No binary data output is indicated for this operation.

Dependencies

  • Requires an API key credential to authenticate with the WhatsApp Business API platform.
  • The node depends on the external service platform ("SacNews" or similar) that manages WhatsApp channels and templates.
  • Proper configuration of the API credentials within n8n is necessary for successful communication.

Troubleshooting

  • Common issues:

    • Invalid or missing channel ID (templateId) will cause the operation to fail or return no templates.
    • Authentication errors if the API key credential is not set up correctly.
    • Network or API endpoint issues may result in timeouts or failed requests.
  • Error messages:

    • Errors related to authentication usually indicate invalid or expired API keys; reconfigure credentials.
    • "Template not found" or empty results suggest the provided channel ID does not have any templates or is incorrect.
    • General API errors should be checked against the external platform's status and logs.

Links and References

Discussion