Embed a web page or HTML snippet in a task

Updated

Who can do this: Anyone who can edit the task. On a task in a live project, you also need permission to manage that project's subtasks.

An Embeddable step shows a web page or an HTML snippet inside a task. Customers can view it and use it in the customer portal.

Add an Embeddable step

  1. Open the task in the Task Builder, from a playbook in the Library or from a project.

  2. In the step types list on the left, find Embeddable. To find it faster, enter its name in Search step types....

  3. Drag Embeddable onto a drop zone in the flow chart that reads Drop step here.

  4. Select URL or HTML. Switching between them clears what you entered in the source field.

  5. Enter the page address in Source URL, or paste the embed snippet into Source HTML. If a site doesn't allow its page to be embedded, you see The URL is not embeddable.

  6. Optional: In a library task or playbook, add a merge field to the source. Type {{ or select Insert merge field. Each project fills in the value when it's created. To learn more, see Create and use merge fields.

  7. Optional: Enter Width and Height in pixels. Width defaults to the full width of the space, and height starts at 600.

  8. Check the preview under the fields. It appears once you enter a valid URL or HTML. It isn't available while the source uses merge fields.

  9. Select Save Changes.

Test the embed

Some pages won't load inside a frame. When you enter a Source URL without merge fields, the preview has an Open in a new tab button. If the preview hasn't loaded after 10 seconds, it shows We couldn't load this content here — open it in a new tab to continue.

To see the step as customers do, open the project's portal preview. For how, see Using the Portal Tab. A Preview Mode banner shows at the top, and answers and comments clear when you refresh the page.

What customers see

Customers see the embedded content in the customer portal once the subtask is ready to answer. After it's completed, the portal shows The step was answered and it's completed.

  • Answering: Most embeds count as answered as soon as the content loads. The portal tells customers to select Complete Task on the last subtask, or Save & Continue otherwise.

  • HubSpot meetings scheduler: Customers can't check off this subtask without an answer. If the portal didn't detect a booking, saving opens Did you book a meeting? with Go back and I booked it.

  • Opening in a new tab: For a URL embed with an http or https link, customers can select Open in a new tab. If any embed hasn't loaded after about 10 seconds, the portal shows a warning telling customers to open it in a new tab.

Fix embeds that don't display well

  • Adjust Width and Height to avoid scroll bars.

  • In the customer portal, HTML embeds grow taller to fit their content, up to 4000 px. HubSpot meeting links show at least 756 px tall.

  • If you see The URL is not embeddable, the site blocks embedding. Try the service's own embed snippet with HTML, if it offers one.

More in Tasks & subtasks