What you'll set up
- A connection between Zapier and your Elido workspace using an API token and workspace ID.
- Ready-made Zap patterns for shortening links from Gmail and creating links from Airtable or Typeform.
- A clear view of which recipes are planned (click logging and click-threshold alerts).
The recipes below that create links use the Shorten URL action. Recipes that depend on click events are marked as planned. You can also build any of them today with Zapier's Webhooks by Zapier and the Elido REST API.
Connect Elido to Zapier first
- In Elido, create a Personal Access Token under Settings → API Tokens and note your numeric workspace ID (it is in the dashboard URL).
- In Zapier, go to My Apps → Add Connection → search "Elido".
- Paste the API token and the workspace ID. Self-hosted installs can also set the base URL.
You're connected. Use this connection in all recipes below.
Recipe 1 — Shorten a URL when you send a Gmail
Use case: Your team sends outbound emails with long URLs. Auto-shorten them before sending.
Trigger: Gmail → New Outbound Email
Action: Elido → Shorten URL
| Zapier field | Value |
|---|---|
| Destination URL | {{body_url}} (or extract from subject/body) |
| Custom Slug | Leave blank (auto-generated) |
| Tags | email-outbound |
Note: Gmail doesn't give you the URL directly from the email body as a clean field. Use Zapier's Formatter → Text → Extract URL step between the trigger and the Elido action to pull the first URL from the email body.
Recipe 2 — Log every click to a Google Sheet (planned)
Use case: Keep a flat-file click log for manual analysis or sharing with a client who doesn't have Elido access.
Planned trigger: Elido → Link Clicked
Filter (optional): Only links with tag = client-X (use Zapier's Filter step).
Action: Google Sheets → Append Row
| Sheet column | Elido field |
|---|---|
| Timestamp | {{clicked_at}} |
| Slug | {{slug}} |
| Country | {{country}} |
| Device | {{device}} |
| Referrer | {{referrer}} |
Once per-click events ship, high-traffic links will fire one event per click and use many Zapier tasks, so plan on filtering or sampling.
Recipe 3 — Create a short link when a row is added to Airtable
Use case: Your marketing team tracks campaigns in Airtable. Each new campaign row should auto-generate a short link.
Trigger: Airtable → New Record (in your Campaigns table)
Action: Elido → Shorten URL
| Zapier field | Airtable field |
|---|---|
| Destination URL | {{Campaign URL}} |
| Custom Slug | {{Slug}} (or leave blank for auto) |
| Tags | {{Campaign Name}} |
Follow-up action: Airtable → Update Record — write the Elido short URL back into a "Short Link" column in Airtable. Zapier passes the slug from the Shorten URL step; build the short URL from it.
Recipe 4 — Post to Slack when a link hits a threshold (planned)
Use case: Alert your team in Slack when a campaign link crosses 1,000 clicks, without using Elido's native Slack integration.
Planned trigger: Elido → Link Clicked (filter client-side — see note)
Filter: Zapier Filter → only continue if {{click_count}} is greater than 1000.
Action: Slack → Send Channel Message
Message template:
:chart_with_upwards_trend: {{slug}} just hit {{click_count}} clicks! View analytics: {{analytics_url}}
Tip: For quota alerts you can already use the
usage.threshold_80andusage.threshold_100webhook events with Webhooks by Zapier as the trigger.
Recipe 5 — Create a link when a Typeform response arrives
Use case: Your team fills in a Typeform to request campaign links. Each form submission auto-creates the link.
Trigger: Typeform → New Entry
Action: Elido → Shorten URL
| Zapier field | Typeform field |
|---|---|
| Destination URL | {{What is the destination URL?}} |
| Custom Slug | {{What slug do you want? (leave blank for auto)}} |
| Tags | {{Campaign name}} |
Follow-up action: Gmail → Send Email — notify the requester with the created short URL.
Troubleshooting
Zap not triggering on new links — Make sure the Elido workspace entered in the Zapier connection is the same workspace where you're creating links. Zaps only fire for the workspace ID you entered.
"Authentication failed" when testing — Reconnect the Elido app in Zapier (My Apps → Elido → Reconnect) and paste a fresh API token if the old one was revoked in Elido.
Shorten URL action failing with "slug taken" — Add a Zapier Delay step (1 second) before the Shorten URL action if your upstream trigger can fire duplicates. Or use a unique computed slug (append a timestamp using Zapier Formatter → Date/Time).
Events fire for wrong workspace — Each Zapier connection is scoped to one Elido workspace. To cover multiple workspaces, create a separate Zapier connection for each and duplicate the Zap.