# Trigger with a Hosted Pages link
URL: https://docs.awellhealth.com/docs/automate-with-events/trigger-with-a-hosted-pages-link

> For the complete documentation index, see [llms.txt](https://docs.awellhealth.com/llms.txt).



Awell can generate a shareable link for a published care flow. Clicking it **starts a care flow and
immediately returns a URL to Hosted Pages**, so whoever clicked lands directly in their activities.

## Best when patients enroll themselves and start straight away [#best-when-patients-enroll-themselves-and-start-straight-away]

* **Patients self-enroll.** A button on a website or in an app starts an intake or onboarding flow.
* **Feedback is instant.** Because the patient initiates it, Hosted Pages appears straight away and
  they can complete their activities in the same visit rather than waiting for an email.

## Generate the link, or download it as a QR code [#generate-the-link-or-download-it-as-a-qr-code]

Awell Studio generates a shareable Hosted Pages link for a published care flow. See
[Embed & host](/docs/embed-and-host) for the hosted pages settings.

**The link can also be downloaded as a QR code**, so a patient can scan it from printed material or a
poster to start a care flow.

## Start a session programmatically [#start-a-session-programmatically]

One mutation starts a care flow and a Hosted Pages session in a single call and returns the session
URL. See [Hosted sessions in the API reference](/api-reference/reference/hosted-sessions).

Use this when the calling application should control when and how the patient is handed over.

## One link per care flow, and duplicates don't inherit it [#one-link-per-care-flow-and-duplicates-dont-inherit-it]

A Hosted Pages sharing link belongs to one care flow, and it is **not** copied when a care flow is
[duplicated](/docs/design-care-flows/duplicate-a-care-flow). Generate a new link for the duplicate.

## Next steps [#next-steps]

**Next:** [Trigger from a file upload](/docs/automate-with-events/trigger-from-a-file-upload) for
starting flows in batches.
