How to use Expressions in Workflows?

This article explains how to include expressions in Workflows.

Use Case: You are conducting a quiz to your audience and you want the quiz score to be sent along with a copy of the responses to the respondent's email. 


This can be achieved using Workflows


Let’s see how it works. 

  1. Build your quiz questionnaire and navigate to the Integrate tab & Workflows. Click on +New Workflow Button at the top.

Screenshot 2021-11-12 at 10.32.09 AM

 

2. Click on Add filter group to define the workflow conditions. In our case, we have chosen Expressions since we already have an expression (score)created for this quiz survey. 

Screenshot 2021-11-12 at 10.34.43 AM

Click here to understand more about creating expressions for your quiz survey. 


3. The next step is to select the expression - “score”

Screenshot 2021-11-12 at 10.36.19 AM


4. Select “Has any value” from the list of filter options available. 

Screenshot 2021-11-12 at 10.37.57 AM


5. Now that the conditions are defined, it’s time to select the action and do some email customisations.

Screenshot 2021-11-12 at 11.22.57 AM

Note: 

  • You can fill the From to To email addresses manually or choose from the contact properties by clicking on the dollar symbol ($).
  • {expression_score} can be included inside the email body on clicking the dollar symbol ($). 
  • You can customize the email body according to your preferences.
        6. Once done, click Create. 
    7. Now, when the survey is shared to your respondents and when they complete the survey, they would be receiving an email along with the quiz score. Refer to the screenshot below.  

 Screenshot 2021-11-12 at 10.53.06 AM

 



That's it! 

Please reach out to us for any technical assistance. 

We're more than happy to help you.