I would like to use the page name (or URL slug) collected from a form submission and use that data to populate another contact property which has pre-determined values.
I figured I could create a Workflow which uses the Recent Conversion contact property in an If/Then branch. If the "Recent Conversioncontains any ofProduct" (I assume the value can be a string), then it would populate a custom contact property named “Interest”, which has pre-defined values in a dropdown. If it doesn’t have the string “Product”, then it would move down the If/Then branch to check if Recent Conversion containsy any of"Services". So on and so forth. But when tested, the Interest property doesn’t get populated. Not sure what I am missing or if there is a better solution to capture this information.
Recent conversion stores the last form the contact submitted. This is formatted as the name of the page the form was submitted on, followed by a colon, then the name of the submitted form (i.e., Name of page: Name of form).
Generally your approach should work.
If this is not working as expected, I’d recommend checking the below:
Find a contact you know should have a certain value for Recent conversion. Look up the value of Recent conversion on their contact record to make sure it’s stored correctly. This is to make sure it’s stored correctly.
If it is, use the Test button in the top right corner of the workflow editor to test whether this contact would enroll or not. If they wouldn’t, there might be another criterion excluding the contact from the workflow or disabled re-enrollment might prevent them from re-entering.
If the contact would enroll correctly, click Details in the top left of the workflow editor and check the Actions log for the contact. Here you can check whether the contact went through each step correctly. Hypothetically, a user might have emptied the interest property, making it look like the workflow never did its job correctly although it did.
Thank you Karsten! You are correct, we were using the the same Test contact and emptying the interest property each time we submitted the form, which doesn’t equate to the contact enrolling and triggering the workflow. The Workflow worked as expected with newly enrolled contacts. I appreciate your quick response!