Send Media by ID from Webhooks
You've uploaded media to WhatsApp. Now trigger sending it via webhooks. When external systems fire an event, Notis sends the pre-prepared media to the right contact--no re-uploads needed.
Trigger
Webhook received
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Action
Send media by
Send media using a media id from previously uploaded media. this is more efficient than sending media by url as the media is already on whatsapp servers. use upload media action first to get the media id. note: the media will be delivered to the recipient only if they have texted first.
Why this helps
You want to send media from webhooks, but re-uploading every time is inefficient. You need to send by media ID instead.
- Send media more efficiently using IDs
- Avoid re-uploading the same files
- Speed up webhook-triggered campaigns
- Build sophisticated media workflows
Setup
Build it in a few focused steps.
- 1Ensure media is already uploaded to WhatsApp (using the Upload Media automation or manual upload)
- 2Note the media ID for each file you want to send
- 3Connect WhatsApp to Notis
- 4Get your Notis webhook URL
- 5Create an automation: When you receive a webhook with a media_id and recipient phone, send that media on WhatsApp
- 6Configure the webhook payload to include: recipient phone_number and media_id
- 7Test by sending a webhook with a real media ID and phone number
Questions about this workflow
How do I get a media ID?
When you upload media through the Upload Media automation, Notis provides the media ID. Store it for later reference in webhook automations.
Can I send multiple media files to one recipient?
This single automation sends one media file per webhook. For multiple files, send multiple webhook calls in sequence.
What if the media ID is invalid or expired?
WhatsApp media IDs don't expire, but if the file was deleted, the send will fail. Check the automation logs and re-upload the media if needed.
Does sending by ID cost less than uploading?
Not financially--both are part of your WhatsApp API usage. But sending by ID is faster and more reliable since the media is already on WhatsApp servers.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Hubspot to Whatsapp. A trigger fires from one place; an action lands in another.
Hubspot triggers
Whatsapp actions
Contact Created Trigger
Contact Created Trigger
Create message template
Create a new message template for the whatsapp business account. templates must be approved by whatsapp before they can be used. templates are required for marketing messages and messages sent outside the 24-hour window.
Deal Stage UpdatedTrigger
Deal Stage UpdatedTrigger
Delete message template
Delete a message template from the whatsapp business account. this permanently removes the template and it cannot be recovered. only delete templates that are no longer needed.
Get business profile
Get the business profile information for a whatsapp business phone number. this includes business details like description, address, website, and contact info.
Get media
Get information about uploaded media including a temporary download url. the download url is valid for 5 minutes and can be used to retrieve the actual media file. this is useful for downloading media that was sent to your whatsapp number.
Get media info
Get metadata about uploaded media without generating a download url. this is useful for checking file size, type, and hash without downloading the file. use get media if you need the actual download url.
Get message templates
Get all message templates for the whatsapp business account. templates are required for sending messages outside the 24-hour window and for marketing/utility messages.
Get phone number
Get details of a specific phone number associated with a whatsapp business account.
Get phone numbers
Get all phone numbers associated with a whatsapp business account (waba).
Connect any two apps with Notis in the middle.
Not just Hubspot and Whatsapp. Any combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7 days free trial with 20$ free usage included.
No card. Works with personal or business Whatsapp.