Evolution API icon

Evolution API

Interact with Evolution API

Actions114

Message → Send Document

AI-generated

Overview

This node sends a document message through the Evolution API. It is useful for automating the sending of documents such as PDFs or other files to specified recipients via a messaging platform. For example, it can be used to send invoices, reports, or any document with an optional caption to a recipient's number.

Use Case Examples

  1. Sending a PDF invoice to a customer with a personalized message.
  2. Sending a report document to a team member with a caption explaining the content.

Properties

Name Meaning
Instance Name The name of the instance that will send the document, identifying the sender instance.
Recipient Number The phone number or identifier of the recipient who will receive the document.
Document The URL or base64 encoded string of the document to be sent.
Message Optional text message to be sent along with the document as a caption.
File Name The file name to assign to the document being sent, e.g., 'document.pdf'.
Options Additional optional settings for the message such as delay before sending, replying to a specific message, and mentions.

Output

JSON

  • status - The status of the document sending operation, e.g., success or failure.
  • messageId - The unique identifier of the sent message.
  • timestamp - The time when the message was sent.

Dependencies

  • Requires an API key credential for the Evolution API to authenticate requests.

Troubleshooting

  • Ensure the 'Instance Name' and 'Recipient Number' are correctly specified and valid.
  • Verify the document URL or base64 string is accessible and correctly formatted.
  • Check API credentials and permissions if authentication errors occur.
  • If the message fails to send, check the delay and options parameters for correctness.

Discussion