Turn campaign emails into trackable Dub links
Keep campaign links ready to share without switching from your inbox to build each short URL by hand.
Trigger
New Email Received
Trigger for new emails in an AgentMail inbox
Action
Upsert a Link
Tool to create or update a short link in Dub. Use when you need to create a new short link or update an existing one. If the link already exists (matching domain and key), it will be updated; otherwise, a new link will be created.
Why this helps
Campaign links arrive in email, and manually shortening them adds another task before you can share or track the campaign.
- Create or update a Dub short link from a URL in a new email.
- Reduce copying and pasting between your inbox and link workspace.
- Reuse a matching domain and key when Dub finds an existing link.
Setup
Build it in a few focused steps.
- 1Connect Agent mail and Dub once in the Notis portal.
- 2Create an automation in Automations, New Automation, and give it a clear name.
- 3Tell Notis to find the campaign destination URL in each new email and create or update a Dub short link for it.
- 4Pick Agent mail's New Email Received trigger and choose where run reports should go.
- 5Test the automation with one real campaign email.
Questions about this workflow
What starts this automation?
A new email received in the Agent mail inbox you connected.
What if an email has more than one URL?
Tell Notis in the instruction which URL to use, such as the campaign landing page. If it cannot tell which is intended, it may need your direction.
Will this create a new Dub link every time?
Dub's upsert action creates or updates a link. A matching domain and key updates the existing link.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Agent mail to Dub. A trigger fires from one place; an action lands in another.
Agent mail triggers
Dub actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Bulk Delete Links
Tool to delete multiple short links in bulk from Dub. Use when you need to remove multiple links at once. Maximum of 100 link IDs per request. Non-existing IDs are silently ignored.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Bulk Update Links
Tool to update multiple short links in bulk. Use when you need to apply the same updates to multiple links at once by specifying link IDs or external IDs.
New Email Received
Trigger for new emails in an AgentMail inbox
Create Domain
Tool to add a domain to a Dub workspace. Use when you need to create a new domain for shortening links. The domain must be verified before it can be used for link shortening.
Create Tag
Tool to create a new tag in Dub. Use when you need to organize links by creating custom tags. Tags help categorize and filter links for better organization.
Delete Domain
Tool to delete a domain from your Dub workspace. Use when you need to permanently remove a domain. The domain must exist and be owned by your workspace.
Delete Tag
Tool to delete a tag from Dub. Use when you need to remove a tag that is no longer needed.
Get Link Info
Tool to retrieve details of a specific short link from Dub. Use when you need to get comprehensive information about a link including its configuration, targeting settings, and performance metrics.
Get Links
Tool to retrieve a paginated list of links for the authenticated workspace. Use when you need to list links with optional filtering by domain, tags, folder, search terms, or user. Supports pagination and sorting for efficient retrieval of large link collections.
Connect any two apps with Notis in the middle.
Agent mail and Dub, or any other combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Dub.