Use Ziflow tokens to insert dynamic proof details

Dina Bennett
Dina Bennett
  • Updated

Ziflow tokens are placeholders that fill in details that change depending on the proof or project, such as a proof name, a reviewer's name, or a link to a proof. 

Available on: Pro Enterprise

When Ziflow sends a message or runs a workflow, it replaces the token you added to the field with the correct information for that proof. For example, in an automated email, Ziflow can use tokens for the proof name and link, and insert the values into the email message.

Tokens can be selected in various areas of Ziflow (the icon is shown on the Zibot page below) where they can help automate your work. 

SendEmail-tokens.png

 

Example

As part of your flow, you might use the Send Email Zibot and use tokens to insert information about the proof.

token-example.png

 

or create a customized email template:

Proof tokens in Ziflow email templates

Ziflow replaces the tokens you inserted with the proof information they represent. Tokens are applied in real-time when the flow is triggered, so they will always pull the latest information.

 

For developers

Ziflow tokens use JSONPath expressions to query. You can replace any token with JSONPath or JSONata to get the same result. For customized email templates, JSONata or JSONPath expressions can be used similarly to how they are used in Zibots. The one difference is that for email, the expression requires event to be part of the path, for example,
#{$.event.proofs.count}#. See Use JSONata to insert values and Useful Ziflow webhooks and JSONata examples.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.