Hi folks,
I want to create an automated email workflow triggered by form submissions where the logic branching is done using the URL of the page where the form submission was completed.
The email content will be determined using the Page URL.
How to go about doing this?
Hi @keshav-hopstack,
Depending on whether you’re referring to HubSpot forms on HubSpot pages or non-HubSpot pages, the approach differs.
This thread goes through various options: https://community.hubspot.com/t5/Lead-Capture-Tools/forms-that-capture-urls-from-embeded-page-its-on/m-p/383246
In any case, you’ll have to populate a hidden form field – either by creating one form for each page and specifying this value manually or by using code to automatically push the page into a hidden property.
You can then reference this property value in your workflow for enrollment, branching etc.
Hope this helps!