A web link is a link that starts an automation when someone clicks it (the Create web link action makes the link, and the When a web link is clicked trigger starts the automation that the link points to). Web links are meant to help you let people act on a record straight from an email, a comment, or a PDF, without opening Tape first.
You can use web links for many things, including:
Letting a manager approve or reject an expense with one click from an email.
Letting a candidate confirm an interview slot from a message.
Note:
You build the automation that the link starts first.
Create web linkcan only point to an automation that starts withWhen a web link is clickedin the same app.Anyone who has the link can click it. Treat a web link like a password: share it only with the people who should be able to act. If the link should work only once, let it expire
On click. People don't need a Tape account to use a web link, and anyone who has the link can open it, even if it was forwarded.
How web links work
A web link uses two automations:
The automation that starts the link. It has a
Create web linkaction. It makes a link for the current record and saves it in a variable calledLink.The automation that runs when the link is clicked. It starts with
When a web link is clicked, runs on the same record, and can show a message or send the person to another page.
In the first automation, you insert the Link variable into another action, for example Send email or Add comment. When the recipient clicks, the second automation runs on the record the link was made for.
Create the automation that runs on click
Build this one first, because the other automation needs to select it.
To create it:
Open the database app and click the automations icon in the top bar (tooltip
Create and view automations), then selectNew automation. The icon is only there for workspace admins, and not on mobile.Choose the trigger
When a web link is clicked. In an existing automation, hover over the trigger, click•••to the right of it, and selectTurn into→Web link clicked. If the automation has no actions yet, Tape adds aDisplay messageaction for you.Select
Add actionand add what should happen, for exampleUpdate record.Add
Display messageorRedirect usersto show the person what happened.Select
Create automation.
Create the link
In the other automation, add the action that creates the link:
Select
Add action→Create web link. The step readsCreate a web link for the current record.Check the automation after
to call. Tape preselects the first callable automation. To choose another one, select its name and pick it underCallable automations. Without one, it readsSelect an automation. If you seeNo callable automation found, selectCreate automationto build one.Open the action's menu
•••and selectWeb link expires. The default isNever. To let the link work only once, chooseOn click.The link is saved in a variable called
Link. SelectLinkto rename it.Select
Create automationfor a new automation, orSave changesfor an existing one.
Add the action before the step that uses the link. A variable is only available to actions that come after it.
Use the link
Insert the Link variable where you want it, for example in Send email or Add comment. Type @ to open the list of variables. The Link variable inserts the web address as plain text.
Add the plain link as text, so recipients with email clients that block buttons can still click.
For a button in an email or a PDF, use HTML. Learn more about formatting emails with HTML →
Show a message or redirect the person
The trigger When a web link is clicked has two actions that are only for web links:
Display messagedisplays a message on a web page. Use it to confirm what happened, for example "Thanks, the expense is approved."Redirect usersredirects users to another web page, for example to the record or to your website.
Without Display message, the page shows Thank you very much! after a successful run. If the run fails, it shows An error has occurred.
In the clicked automation, you can also use two values under Weblink in the list of values: Click count tells you how often the link was opened, and Creation date tells you when it was created. Use Click count to react only to the first click.
Let's look at an example
Let's say your finance team wants managers to approve expenses with a link:
Create the automation
Approve expense by linkwith the triggerWhen a web link is clicked.Add
Update recordand setStatustoApproved. AfterWhen a web link is clicked, the action list addsDisplay messageandRedirect users. All other actions stay available.Add
Display messagewith the text "Thanks, the expense is approved."In the automation that notifies managers, add
Create web linkand selectApprove expense by link.In
Send email, write "Approve this expense:" and insert theLinkvariable.
The next time an expense is submitted, the manager gets an email. Clicking the link approves the expense and shows the thank-you message.
Web link errors
If
Select an automationshowsNo callable automation found, the target doesn't exist yet or isn't in the same app. Create it withCreate automation.If the link doesn't do anything, check that the link hasn't expired and that the automation that runs on click is active. If the link has expired, the page shows
Link is not availableand the automation doesn't run.If the click starts a run that fails, the failed run appears in the
Runspanel of the clicked automation. Learn more about error handling →
Test, pause, or edit web links
To test the click side, copy the link from a run of the first automation and open it yourself. A link created in a
Simulated runstarts a simulated run when you click it. To find the link, open the run and look for the step that starts withCreate a web link for the current record. The variable at the end of that step, for exampleLink, is the generated link. Selecting it opens the link and starts the automation, like a click by a recipient.To pause the click side, select
Activebelow its automation's name, then selectSave changes. The status switches toPaused. While it's paused, the link showsLink is not availableand nothing runs.To change what happens on click, open the automation, edit its actions, then select
Save changes.
Learn more
FAQs
Can I add a button instead of a plain link?
Can I add a button instead of a plain link?
Yes. Insert the Link variable into an HTML button in your email or PDF, and also add the plain link as text for email clients that block buttons.
Can the link expire?
Can the link expire?
Yes! Open the menu ••• of Create web link and select Web link expires. The default is Never. To let the link work only once, choose On click.
Can I start an automation from a link in another app?
Can I start an automation from a link in another app?
Not directly. The link points to an automation in the same app as the action that creates it. To act on a record in another database app, have the clicked automation call another automation. Learn more about Call automation →
Can I pass values to the automation through the link?
Can I pass values to the automation through the link?
Yes! On the clicked automation, hover over the trigger, click •••, and turn on Pass variable values. Rename the variables as you like. In Create web link, fill in a value for each variable. The clicked automation runs on the record the link was made for, so its field values are available anyway.
Can the same link be used more than once?
Can the same link be used more than once?
Yes, unless it expires. Each click starts a new run. To allow only one click, set Web link expires to On click.
Are you a developer using the Tape API for automations?
Are you a developer using the Tape API for automations?
The automation API has its own documentation for developers. Full reference: current_record_generate_automation_weblink in the developer docs →
Still have more questions? Find answers and get help from community experts in the Tape community →.
