Autentique icon

Autentique

Trabalhe com dados da API do Autentique para assinaturas digitais

Overview

The node integrates with the Autentique API to manage digital documents and signatures. Specifically, the "Send via WhatsApp Flow" operation under the "Document" resource allows sending a document through a WhatsApp automation flow directly to a specified phone number. This is useful for automating document delivery and signature requests via WhatsApp, a widely used messaging platform.

Typical use cases include:

  • Sending contracts or agreements to clients for signing via WhatsApp.
  • Automating reminders or follow-ups by integrating with WhatsApp flows.
  • Streamlining document workflows by leveraging WhatsApp as a communication channel.

Example: Automatically send a contract document to a client’s international phone number using a predefined WhatsApp flow, optionally including additional data to customize the flow.

Properties

Name Meaning
Document ID The unique identifier of the document to be sent via WhatsApp.
Phone Number The recipient's phone number in international format (e.g., +5511999999999).
Flow Data Optional JSON object containing additional data to customize or parameterize the WhatsApp flow.

Output

The output JSON contains details about the document after it has been sent via the WhatsApp flow. It includes:

  • id: The document's unique identifier.
  • name: The name of the document.
  • signatures: An array of signature objects related to the document, each containing:
    • public_id: The public identifier of the signature.
    • name: The name of the signer.
    • phone: The phone number associated with the signature.

This output confirms the document was processed and provides information about its signatures relevant to the WhatsApp flow delivery.

The node does not output binary data for this operation.

Dependencies

  • Requires an API key credential for authenticating with the Autentique API.
  • The node makes HTTP POST requests to the Autentique GraphQL endpoint at https://api.autentique.com.br/v2.
  • Proper configuration of the API key credential in n8n is necessary.
  • The phone number must be in international format to comply with WhatsApp requirements.

Troubleshooting

  • Invalid Document ID: If the provided document ID does not exist or is malformed, the API will return an error. Verify the document ID is correct.
  • Phone Number Format: Ensure the phone number is in the correct international format starting with "+" followed by country code and number.
  • API Authentication Errors: Missing or invalid API credentials will cause authentication failures. Confirm that the API key credential is correctly set up.
  • Flow Data Format: If providing flowData, ensure it is valid JSON. Malformed JSON may cause request errors.
  • WhatsApp Delivery Issues: If the WhatsApp flow fails to deliver, check the phone number validity and whether the WhatsApp flow is properly configured on the Autentique side.

Links and References

Discussion