|Using and configuring the 'Update contact' node|
|» Boolean (yes/no) fields|
|» Numeric fields|
|» Date fields|
|» Text fields|
The Update contact node is used to update contact data fields when a program action is performed.
Provided the program action happens, such as a contact clicking a specific link for instance, then a contact data field can be directly updated or filled in as a result, as well as incremented or decremented if its value type is a number.
As an example of how to use this node, we'll look at a scenario in which interest in an event can be stored against a contact when they click on a specific link within a campaign.
In this example, updating a contact will be used in conjunction with a decision node relating to clicking a specific link in a campaign about an upcoming conference. A contact's behaviour - clicking on the link (which says 'Click here to register your interest in our spring conference and receive future communications about it') - indicates their interest in the conference and therefore records it.
To configure this, drag in and drop the Update contact node from the side panel onto the canvas and attach it to the 'Yes' outcome, then click on the node.
A panel will slide in from the right side of the screen with a choice to either select an existing contact data field to update, or create a brand new one.
When clicking Select data field, you'll need to choose the contact data field you wish to update from the list provided.
When clicking Create data field, you'll be taken through the contact data field creation process.
As this particular example is a Boolean (yes/no) data type, you'll next need to select either 'is yes' or 'is no' from the dropdown. In this case, 'is yes' needs to be selected.
Once happy with the setting here, click Apply. The node will be set and, when activated, your program will update this contact data field upon completion of the required action by contacts.
In this example case, 'INTERESTED_IN_CONF' will be set to 'Yes' against contacts as soon as they click the link to register their interest, and this data can then be used in the creation of segments, etc., in future.
For numeric fields, you can select whether you want to set a fixed value, or increment or decrement the value.
For example, you may have several links in a campaign that a contact can click to request a number of places for a conference, talk or training course (thus links for one, two, three or four places). By clicking on the link for four places, this value is stored against a contact for future use.
For date fields, you can set a contact data field to a specific value (e.g. 24 December 2019) using either the date picker or by entering it manually.
You can also set it to update to the date that a contact reached that node in a program.
For text fields, enter the new text under 'Set value to' that you'd like the chosen contact data field to update to.
This node doesn't just have to be used in conjunction with a decision. It could be used after a campaign node, for instance, so that a contact data field gets updated after a contact is sent a particular campaign.