Skip to main content
Answered

Is it possible to create a calculated field or input data into a field based on the value of another field?

  • August 30, 2023
  • 1 reply
  • 168 views

Patrick H12
Forum|alt.badge.img

Hey everyone,

What I’d like to do is create a new contact field called “App URL”. Then I’d like to autofill this information based on data from another field. For example, if email contains company.com.au then I want the App URL to be “app.company.com.au”.

Alternatively, is there a way to simply get the current page URL to use in an outbound message Action?

Best answer by Eden

Hi @Patrick H12 👋 Eden from the support engineer team here.

 

You may be able to set this up on your end with some customization. Going off of your above example, you would first need to retrieve the Contact, then you would be able to pull the email field returned in the response. From there you would want to parse the value for the email domain, then you could make a call to update the Contact in order to update a custom attribute (in this case “App URL”) to have the value of “app” + the email domain for them. 

 

There isn’t an attribute for “current page URL” for a user, but if you are looking to target messages based on the current page that a user is on, you would be able to do this with outbound messages by setting up a “Where to send” URL rule: 

 

View original
Did this topic help you find an answer to your question?

1 reply

Eden
Employee
Forum|alt.badge.img
  • Premier Customer Support Engineer
  • 121 replies
  • Answer
  • September 1, 2023

Hi @Patrick H12 👋 Eden from the support engineer team here.

 

You may be able to set this up on your end with some customization. Going off of your above example, you would first need to retrieve the Contact, then you would be able to pull the email field returned in the response. From there you would want to parse the value for the email domain, then you could make a call to update the Contact in order to update a custom attribute (in this case “App URL”) to have the value of “app” + the email domain for them. 

 

There isn’t an attribute for “current page URL” for a user, but if you are looking to target messages based on the current page that a user is on, you would be able to do this with outbound messages by setting up a “Where to send” URL rule: 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings