Skip to main content
Four function types that let the agent send a file: a product photo, a PDF price list, a demo video, a recorded voice note.
WhatsApp agents only.

Fields

All four share the same shape. The per-type prompts on the form spell out what the description needs to cover:

Fixed file or dynamic file

Both work, and the difference lives entirely in the description. Fixed — the same file every time:
Send our standard price list when the customer asks about pricing. The document is at https://example.com/files/price-list-2026.pdf, filename “Acme Price List 2026.pdf”.
Dynamic — a file that depends on the conversation:
Send the customer’s invoice. Get the URL from the get_invoice_link function using their order id. Do not call this before the order id is confirmed.
The URL must be publicly reachable. A link behind a login, a signed URL that has expired, or a file on an internal host will fail at send time — and the customer sees a conversation that stalls with no explanation.

Test Send

Every media function has one. Enter a test phone number and send the file to yourself:
  • The image renders, and is the right one
  • The document opens, and its filename reads sensibly to a customer
  • The video plays
  • The audio is audible and the right recording
Re-run the Test Send whenever the file changes. A URL that used to work is the most common cause of a media function that quietly stopped sending.

Functions overview

All function types

Custom functions

Generating a file URL to feed these