Chatwoot fazer.ai icon

Chatwoot fazer.ai

Interact with the Chatwoot API

Actions134

Conversation → Send File

AI-generated

Summary

Send a file (or recorded audio) to a selected conversation in Chatwoot.

Inputs

  • accountId (required) — The Chatwoot account to use.
  • inboxId (required) — The inbox where the conversation resides.
  • conversationId (required) — The conversation to which the file will be attached.
  • binaryPropertyName (required) — Name of the input field that contains the binary file data to upload.
  • isRecordedAudio — Whether the file is a recorded audio (PTT) message.
  • fileCaption — Optional caption for the file (ignored for audio).
  • sendFileOptions — Additional options such as private note, delay, or attachment metadata.

Output shape

a single message object representing the sent file (including attachment details)

The response contains the created message; fields may be optional and pagination is not applicable.

Examples

Example 1: Upload a PDF stored in the node's binary data field and send it to conversation #123.

accountId = 1, inboxId = 2, conversationId = 3, binaryPropertyName = data, isRecordedAudio = false, fileCaption = "Report", sendFileOptions = {"private": false}

Example 2: Send a recorded voice note as a push‑to‑talk message with a 2‑second delay.

accountId = 4, inboxId = 5, conversationId = 6, binaryPropertyName = data, isRecordedAudio = true, fileCaption = "", wait_before_sending = {"value":"fixed","options":{"wait_time_seconds":2}}

Example 3: Attach a file and mark it as a private note with custom metadata.

accountId = 7, inboxId = 8, conversationId = 9, binaryPropertyName = file, isRecordedAudio = false, fileCaption = "Invoice", sendFileOptions = {"private": true, "attachmentMetadata": {"order_id": "1001"}}

Links

Discussion