Skip to content
Digital Inspiration DocsDigital Inspiration Docs

The Embed Link marker adds a link with the text you choose, like View your order. The address can be the same for everyone, come from a column in your Google Sheet or form, or be built from a column. Each row then opens its own page.

Use the marker when your sheet has web addresses and you want the email or document to show friendly text, not a long address. The marker works in the email body, Google Docs and Google Slides.

Tom at Becker Bikes emails each customer when their bike ships. His sheet has the order number and the courier’s tracking link:

First Name Email Address Order Number Tracking Link
Angus angus@example.com 1042 https://courier.com/track/ZX48113
Daniel daniel.okafor@example.net 1043 https://courier.com/track/ZX48127

Angus gets two links. One opens his order on the shop’s website, and the other opens the courier’s page for his parcel.

  1. Open your workflow and go to the Send Email task.

  2. In the Email Body, type an Embed Link marker on a line of its own, where the link should go. Write the link text first, then a comma, then the address.

    Hi {{First Name}},
    Good news: order {{Order Number}} left our workshop this morning.
    {{Embed Link, Track your parcel, {{Tracking Link}}}}
    {{Embed Link, View order {{Order Number}}, https://beckerbikes.com/orders/{{Order Number}}}}
    Tom
    Becker Bikes
  3. Click Preview. Document Studio sends the email to your own address. Click each link to check that it opens the right page.

  4. Click Done to save the task.

Email Body box of the Send Email task with two Embed Link markers typed on their own lines

The first marker takes the whole address from the Tracking Link column. The second builds the address from the Order Number column, so you don’t need a link column.

{{Embed Link, link text, address}}
You want Marker Result
The same link for everyone {{Embed Link, Visit our shop, https://beckerbikes.com}} Visit our shop, linked
The address from a column {{Embed Link, Track your parcel, {{Tracking Link}}}} Track your parcel, linked to that row’s address
An address built from a column {{Embed Link, View your order, https://beckerbikes.com/orders/{{Order Number}}}} A link to /orders/1042
A marker in the link text {{Embed Link, View order {{Order Number}}, {{Order Link}}}} View order 1042, linked
Link text with a comma {{Embed Link, "Terms, privacy and refunds", https://beckerbikes.com/terms}} Terms, privacy and refunds, linked
A link that starts an email {{Embed Link, Email the workshop, mailto:workshop@beckerbikes.com}} Opens a new email to that address
An email with the subject filled in {{Embed Link, Reply about this order, mailto:workshop@beckerbikes.com?subject=Order {{Order Number}}}} Opens a new email with the subject Order 1042
An address with a comma {{Embed Link, Open the map, "https://maps.example.com/?q=40.75,-73.98"}} Quotes keep the comma in the address
The address shown as the link {{Embed Link, {{Tracking Link}}}} The address itself, clickable

You can also write the address as url=, like {{Embed Link, Visit our shop, url=https://beckerbikes.com}}. Both forms do the same thing. An address with = in it, like https://example.com/?order=1042&size=M, stays whole.

The link text and the address can each be written in three ways:

You write It holds If the title is misspelled
{{Tracking Link}} The Tracking Link cell of that row Nothing
Tracking Link The Tracking Link cell of that row The words Tracking Link
"Terms, privacy and refunds" The text in quotes, exactly as typed

Use braces for a column, so a misspelled address gives no link at all. Use quotes for text with a comma, because a comma starts the next part of the marker. When the link text is empty, the link shows its address. In a Google Form workflow, a column is a question title. Embed URL is another name for Embed Link.

The same marker works in a Google Docs template. Tom’s workflow also creates a PDF receipt for each order. His receipt template ends with this line:

Track your delivery at {{Embed Link, courier.com, {{Tracking Link}}}}.

In Angus’s receipt, the words courier.com link to his tracking page. The marker can sit inside a sentence. The link stays clickable in a PDF made from the document.

Google Docs template with an Embed Link marker at the end of a sentence

In Google Slides, put the marker in a text box of its own. Document Studio replaces all the text of the box with the link text, so any other words in the same box are lost.

{{Embed Link, View order {{Order Number}}, https://beckerbikes.com/orders/{{Order Number}}}}

Use one Embed Link marker in each text box.

Embed Link doesn’t add links in a Google Sheets template. Type the HYPERLINK function of Google Sheets in the cell instead, with markers for the address and the text:

=HYPERLINK("{{Tracking Link}}", "Track order {{Order Number}}")

Document Studio fills in the markers, and Google Sheets shows the cell as a link.

Google Sheets cell with a HYPERLINK formula that holds two markers

All three methods give each row its own link in an email. Pick the method that fits how you write.

Method Good for
Embed Link marker Typing the whole link as text. Rows with an empty cell get no link at all.
The link button of the email editor, with a marker in the address Linking words inside a sentence
<a href="{{Tracking Link}}"> with Editor Mode set to HTML A styled button

The big difference is the empty cell. With the link button, a row with no address still gets the words Track your parcel, linked to nothing. With Embed Link, that row’s email gets no link, so nobody clicks a dead link.

  • The address must start with https://, http:// or mailto:. Anything else, like tel:+15551234567 or www.example.com, adds no link.
  • In an email, a row with an empty or unusable address gets no link and no link text.
  • In Google Docs and Google Slides, a row with an empty or unusable address shows the link text without a link.
  • The column must show the full address in the cell. If the cell shows link text, like one made with HYPERLINK or Insert > Link, the marker has no address to read.
  • Document Studio escapes the link text and the address, so a < or " in a cell can’t break the email.
  • In the email Subject, Document Studio removes the marker.
  • A marker inside an {% if %} condition adds the link only when the condition is true.

Check these in order:

  1. Does the address start with https://, http:// or mailto:? Add https:// in front of an address that starts with www.
  2. Does the cell show a full address? A cell that shows text like Open folder has no address for the marker to read.
  3. Does the link text have a comma? Put the text in quotes.
  4. Is the cell empty for that row?
Section titled “The document shows the link text but no link”

The address is empty for that row, or it doesn’t start with https://, http:// or mailto:. Fix the address in the sheet and run the row again.

The marker shares a text box with other text. Move the marker to a text box of its own.

Section titled “The link opens the wrong page, or a page that says “not found””

Document Studio cut the address at a comma. Put an address with a comma in quotes. For an address built from a column with spaces, make the link in your sheet with ENCODEURL.