Execute service on condition
How do I choose and execute only applicable services when a form response is submitted?
What is Service Condition?
"Service condition" is a condition that needs to be met to execute the service. It is helpful to choose applicable services from multiple services and execute only those applicable services.
For example,
if the Order Type is Retail and the Order Amount is greater than 1000, send an email to the owner of the business.
if Service Location is Remote, then create a Calendar event "Remote Working Setup" inviting system admin
How you can use Service Condition
Create a Service using google document.
Once the service is created click on the gear icon next to the service name.
Select all, so that the service will be executed if all the condition match.
Select any, so that the service will be executed if any of the conditions match.
Select the question title where condition needs to be applied.
Select the required comparison.
Mention the required value.
Click Save and close.
Demo 1: Consider a situation in which you need to send form responses in Email to students of a particular school.
Create the required form.
Select the required condition.(Here we have mentioned the condition as "school = Hebron High School").
So if other schools are selected the service will not be executed.
If "Hebron High School" is selected then only the service will be executed.
You can try it by submitting the below form.
Demo 2: Consider a situation where you need to send notification if the form responses are from a particular domain only.
Create the required form.
Select the required condition.(Here we have mentioned the condition as "Email address contains '@gmail.com'").
So if other email domains are selected the service will not be executed.
If the domain with "@gmail.com" is selected then only the service will be executed.
You can try it by submitting the below form.
You can extend 'service condition' to as many as services. This provide you complete control on what services to be executed based on Form response.