Using the Token Picker

Reza Farpour
Reza Farpour
  • Updated

You can't always hard-code values when dealing with data and building conditional logic. You'll want to use tokens when you need to define logic with a variable.

Tokens can be used in functions like Filters, Set Value, Lookups, and more. They can also be used in actions like Send Slack Message, Send Email, and more.

 

NOTE

The list of available tokens in the Token Picker will vary depending on the node's location.

 

Token Picker Scenario

Not all Synapses have a Full Name attribute. In this example, we will concatenate First Name and Last Name into a Full Name.

1. Let's drag a Set Value node onto the canvas of the Full Name attribute pipeline. Connect the node between the source and the Syncari attribute in which you want the new value stored.

2. Double-click the Set Value node to configure it.

3. In the configuration box, enter a Display Label, add a Description, so it's clear what the purpose of this node is, and select Text as the Data Type.

4. Now click on Data Token, either scroll through the available tokens or type the attribute name you are looking for, then select the First Name token.

5. A token has automatically been constructed in the New Value box. Now you can find and insert the Last Name token. 

 

NOTE

Make sure to add a space between the First Name and Last Name tokens.

 

6. Click Save.

Remember to validate and test your pipeline before publishing!

Now every record that flows into Syncari will have its First Name and Last Name concatenated into the Full Name attribute.

You'll find Insert Token functionality on many configuration modals in the product. You can use the information in the above example to accomplish your desired outcomes.

 

NOTE

You can edit existing tokens by double clicking the token.

 

Not all tokens are available in the token picker. Navigate to Using Tokens Like a Pro for additional tokens you can use.

Share this

Was this article helpful?

0 out of 0 found this helpful