Automation rules

Automation rules feature allows you to create rules to automate specific actions when certain events occur.

Currently, we only support the following events:

  • When submission is created

  • When a custom field is updated

Based on the type of your form question or custom field, you can create rules that, when triggered, can perform specific actions. We currently support the following actions:

  • Send email: This could be the form creator, submitter, workspace members, or any specific email address.

  • Send SMS: This could be either to the form submitter or any specific phone number.

  • Send to API: Send the data to a specific API endpoint.

Set up an automation rule to send email

Consider the following use case:

You are the HR manager of a company that has created an application form for potential interns to apply at your company. Based on the data submitted by the applicants, you have to decide if the applicant qualifies for the interview. If the applicant is a possible fit, then you need to send him an email with details of the interview. Plus, you would also need to send an email to the interviewer with the details of this applicant.

Here's how you can automate this using NeetoForm's automation rules:

  1. Firstly, you must create a custom field "Qualification status" with the field type single option and add Passed and Failed as options.

  2. Go to Settings from the top menu, under General, click on Automation rules, and click on Add new rule.

  3. Add in a name for the rule and ensure that the status is active.

  4. Under When, ensure "When a custom field is updated by any" is present, and then click on the + icon.

  5. Set the condition as "and when Qualification status is passed"

  6. Under Then, set the following action:

    send email to form submitter whose email is email address with the following message

    and then send email to form creator with the following message

  7. Add in the subject and body for each of the emails and save the rule.

Your saved automation rule should look something like the following:

Send email to qualified candidates.png

Now, whenever you mark a submission as Passed by updating the "Qualification status" custom field, the above automation rule will get triggered and perform the actions.

Consider another scenario:

You are the customer experience manager at a life insurance firm responsible for enhancing client satisfaction. Once customers receive their policy approvals, they are asked to complete a feedback survey. If a customer gives a low rating, you should notify the service team via email with details about the feedback so they can address these issues and improve the overall experience.

Here's how you can automate this using NeetoForm's automation rules:

  1. Create question with type "Opinion scale" and label "Rate your overall experience".

  2. Go to Configure from the top menu, under General Configurations, click on Automation rules, and click on Add new rule.

  3. Add in a name for the rule and ensure that the status is active.

  4. Under When, ensure "When submission is created by any" is present, and then click on the + icon.

  5. Set the condition as "and when rate your overall experience less than 4"

  6. Under Then, set the following action:

    send email to custom recipients with the following message

  7. Provide the email IDs of the service team members.

  8. Add in the subject and body for the email and save the rule.

Your saved automation rule should look something like the following:

Notify the service team when a customer expresses dissatisfaction.png

Set up an automation rule to send SMS

Consider the following use case:

You are a professor at a university that has created a form where students have to submit their assignments. Based on the responses submitted by the students and your evaluation, you have to send an SMS to the students if they need to resubmit who failed to make the cutoff.

Here's how you can automate this using NeetoForm's automation rules.

  1. Firstly, you need to create a custom field, "Evaluation status," with the field type single option and add Accepted and Unsatisfactory as options.

  2. Go to Configure from the top menu, under General Configurations, click on Automation Rules, and click on Add New Rule.

  3. Add in a name for the rule and ensure that the status is active.

  4. Under When, ensure "When custom field is updated by any" is present, and then click on the + icon.

  5. Set the condition as "and when Evaluation status is unsatisfactory."

  6. Under Then, set the following action:

    send sms to form submitter whose phone number is phone number with the following message.

  7. Add in the body for the SMS and save the rule.

Your saved automation rule should look something like the following:

Send SMS to students whose assignments which need rework.png

Now, whenever you mark a submission as Unsatisfactory by updating the "Evaluation status" custom field, the above automation rule will get triggered and perform the actions.

You can add multiple automation rules. For example, if you want to send SMS messages to students whose assignments have been marked as Accepted, you can create a separate automation rule.

Set up an automation rule to send submission data to an API

Consider the following use case:

You have a form that accepts orders for T-shirts with customizable prints. Your customers can submit their designs and/or include taglines to be printed on the T-shirts. Based on the responses submitted by your customers, you first have to evaluate the feasibility of the design. If everything looks good, then you need to forward the order to a third party or your manufacturing facility that accepts orders via an API.

Here's how you can automate this using NeetoForm's automation rules:

  1. Firstly, you must create a custom field "Approved" with the field type checkbox.

  2. Go to Configure from the top menu, under General Configurations, click on Automation rules, and click on Add new rule.

  3. Add in a name for the rule and ensure that the status is active.

  4. Under When, ensure "When custom field is updated by any" is present and then click on the + icon.

  5. Set the condition as "and when approved is checked"

  6. Under Then, set the following action

    send to api as data

  7. Add in the endpoint URL. By default, all the fields present in the form are included in the body of the API request. You can include any additional data if you want by entering those as key-value pairs. Save the rule.

Your saved automation rule should look something like the following:.

SCR-20240412-rcfo.png

Now, whenever you mark a submission's "Approved" custom field as checked, it will send the submission's information along with the additional fields configured to the specified endpoint.

Troubleshooting

My automation rules are not working

  • Ensure that your automation rule is active. Inactive automation rules won't be triggered.

  • Ensure that your form is not archived or disabled. Automation rules won't be triggered for archived forms or disabled forms.

  • For automation rules involving sending emails to form submitters, ensure you have an Email field in your form.

  • For automation rules involving sending SMS, ensure that you have a Phone Number field in your form along with Twilio integration enabled.

My automation rules are not getting executed immediately

We execute the automation rules after a delay of 2 minutes. Let's say you wanted to mark a submission as Qualified, but by mistake, you marked it as Failed. This can trigger the wrong automation rule. The 2-minute delay ensures that you have enough time to correct the mistake. If the same submission is marked as Qualified, we will trigger the automation rule matching the Qualified scenario.

Why can’t I find some of my questions while specifying conditions?

Only published questions are available for selection when specifying conditions. If a question is published but still not listed, please check if its type is supported. Here’s the list of supported question types:

  • Full name

  • Email address

  • Phone number

  • Address

  • Text input

  • Number

  • Dropdown

  • Single choice

  • Multi choice

  • Yes/No

  • Opinion scale

  • Star rating

Can't find what you're looking for?