We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
2 weeks ago - last edited 2 weeks ago
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?
Solved! Go to Solution.
2 weeks ago - last edited 2 weeks ago
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...
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!
Karsten Köhler |
![]() | Did my post help answer your query? Help the community by marking it as a solution. |
2 weeks ago - last edited 2 weeks ago
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...
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!
Karsten Köhler |
![]() | Did my post help answer your query? Help the community by marking it as a solution. |