NotificaMe Hub icon

NotificaMe Hub

Integração com NotificaMe Hub API

WebChat → Enviar Arquivo

AI-generated

Overview

This node operation allows sending a file through the WebChat platform. It is useful for automating the delivery of various types of files such as documents, images, or videos to a specific recipient within a WebChat channel. Practical applications include sending invoices, promotional images, or video tutorials directly to users in a chat environment.

Use Case Examples

  1. Sending a PDF invoice to a customer in a support chat channel.
  2. Delivering an image or video as part of a marketing campaign through WebChat.
  3. Sharing important documents with team members via WebChat automatically.

Properties

Name Meaning
ID Do Canal The unique identifier of the WebChat channel where the file will be sent.
ID Do Destinatário The unique identifier of the recipient within the WebChat channel who will receive the file.
Tipo De Arquivo The type of file being sent, which can be a document, image, or video.
URL Do Arquivo The public URL where the file to be sent is hosted.
Nome Do Arquivo Optional name of the file to be sent.
Request Options Additional HTTP request options such as batching, SSL certificate validation, proxy settings, and timeout configuration.

Output

JSON

  • success - Indicates whether the file was sent successfully.
  • messageId - The identifier of the sent message containing the file.
  • channelId - The ID of the WebChat channel where the file was sent.
  • recipientId - The ID of the recipient who received the file.
  • fileType - The type of the file sent (document, image, or video).
  • fileUrl - The URL of the file that was sent.
  • fileName - The name of the file sent, if provided.

Dependencies

  • An API key credential for authenticating with the NotificaMe Hub API

Troubleshooting

  • Ensure the channelId and recipientId are correct and correspond to valid entities in the WebChat system.
  • Verify that the fileUrl is publicly accessible and correctly formatted; inaccessible URLs will cause the file sending to fail.
  • Check network settings if using a proxy or if SSL certificate validation is disabled, as these can affect connectivity.
  • Timeout errors may occur if the server is slow to respond; adjust the timeout setting accordingly.

Discussion