Configure workflow rules for subforms in Zoho CRM

Workflow for Subforms

Workflow rules for subforms in Zoho CRM are a set of actions (field updates, email notifications, SMS notifications, and webhooks) that execute when specified conditions on a subform row, or its parent record, are met. These rules let you automate actions at the row level, not just the parent record level.

For example, in the Deals module, sales reps list every product line item tied to a deal in the Product Details subform. You can configure a workflow rule to trigger the moment the Discount (%) field on a product row exceeds 50%, instantly notifying the sales manager and updating the Approval status field on the parent Deal record to "Pending review."



A subform-based workflow rule comprises the following elements:
  1. Basic Details - Specify whether the rule applies to a module or a subform, along with the rule name and description.
  2. Rule Trigger - Specify when the rule should be triggered, and based on what. There are two options:
    1. A subform row's action - Rules can be triggered when a row is added, modified, added or modified, or deleted.
    2. A date/time field's value - The rule is triggered based on the value of a created time, modified time, or custom date/time field on the subform, with a defined execution time and recurrence.
  3. Workflow Condition - You can build conditions at two levels for a subform-based rule: 
    1. Subform-level conditions - Apply conditions directly on the subform's fields, so the rule fires only for rows that meet your criteria.
    2. Parent module-level conditions - Apply conditions on the parent record's fields (all records, or records matching certain criteria) to control which parent records the rule considers.
  4. Actions - Specify the action to be automated for rows (and their parent records) that meet the set criteria. 
    1. Instant Actions - Add field updates, email notifications, SMS notifications, webhooks, and functions that trigger immediately when the rule executes.
    2. Scheduled Actions - Add field updates, email notifications, SMS notifications, webhooks, and functions that will be scheduled and triggered based on a specified time.

Create a workflow rule for a subform

  1. Navigate to Setup > Automation > Workflow Rules.
  2. On the Workflow Rules page, click Create Rule.
  3. In the Create New Rule pop-up, click the Module drop-down, then scroll to the Subforms section, or search for the subform by name.
  4. Choose the subform you want to build the rule on. Subforms are listed with their module name in brackets, for example Product Details (Deals). 
  5. Enter a rule name (for example, "High Discount Approval for Products") and an optional description explaining the purpose of the rule.
  6. Click Next to configure the trigger, conditions, and actions.

Define the trigger (WHEN)

For a subform-based rule, choose what should trigger it:

  1. Row added: Executes the rule when a new row is added to the subform.
  2. Row modified: Executes the rule when an existing row is modified. Choose one of the following: 
    1. Any field gets modified: Executes the rule when any field in the row is modified.
    2. Specific field(s) get modified: Executes the rule when the values of the specified fields are modified in a row. 
      1. Choose the field name from the drop-down.
      2. Choose the criteria for the updated field's value, for example Discount (%).
      3. Choose the value of the updated field, for example Discount (%) is modified to a value greater than 50.
      4. Choose from all or any to toggle between matching all or any of the specified fields.
  3. Row added or modified: Executes the rule when a row is either added or modified.
    Check the Repeat this workflow whenever a product details is edited option if required.
  4. Row deleted: Executes the rule when a row is deleted from the subform.
  5. Date/time field: Executes the rule based on the value of a created time, modified time, or custom date/time field on the subform, with a defined execution time and recurrence.

Define conditions (CONDITION)

  1. Subform-level conditions - Under Would you like to set conditions for <subform> fields?, apply conditions directly on subform fields. 
    1. Choose Yes if the rule should only fire for rows that meet your criteria (for example, only rows where Discount (%) is greater than 50). Add your field criteria one by one, and choose from all or any to toggle between matching all or any of the specified fields.
    2. Choose No if you don't want to set conditions for subform fields. The rule will then apply to all rows, regardless of field values.
  2. Parent module-level conditions - Under Which <module> records would you like to apply this rule to?, apply conditions on the parent module's fields. 
    1. Choose All <module> records if you don't want to set conditions for the parent record's fields. The rule will then apply to all records, regardless of field values.
    2. Choose <Module> records matching certain condition to filter which parent records the rule should consider, based on fields on the main module such as order status, customer type, or priority. Add your field criteria one by one, and choose from all or any to toggle between matching all or any of the specified fields.

Combining both lets you precisely control which parent records, and which specific subform rows within them, your automation applies to.

Configure instant actions

Once a trigger and its conditions are met, you can associate a range of instant actions at the subform level: Field Update, notifications (Email Notification, SMS Notification, and other integrated channels), Webhook, and Function, all of which trigger the moment the rule executes.
There are two ways to associate these actions with the rule:
  1. Create new field updates, notifications, webhooks, or functions and, associate them with the rule.
  2. Select existing field updates, notifications, webhooks, or functions and, associate them with the rule.
Field Update
You can update fields on:
  1. The subform - The specific row that triggered the rule
  2. The parent module - The record the subform belongs to
  3. A lookup module - A related record linked to the parent


For example, in the Deals module, when a Products subform row is modified and Discount (%) exceeds 50%, a single rule can trigger multiple field updates at once:
  1. Subform field: Update Approval required on that same product row to "Yes," marking the specific line item that triggered the review.
  2. Main module field: Update Discount approval status on the parent Deal record to "Pending Review," fast-tracking the deal for approval.
  3. Lookup module field: Update Last high-discount flagged date on the linked Products module record to the execution day.

Notifications
You can add sending a notification as an action. Hover over Notify and choose the channel you want to send the notification through, from the channels you've integrated with your CRM. You can either create a new notification or select an existing one, such as an email notification, SMS notification, or another integrated channel.

Actions you create through the workflow rule are saved and listed under the relevant tab in Actions.

Webhook
You can either create a new webhook or select an existing one to associate with the rule. Webhook actions let you configure HTTP URLs that automate the process when the rule executes. Learn more about creating webhooks.

Function
You can either create a new function or select an existing one to associate with the rule. Functions let you update data in related CRM modules or third-party applications by executing custom program scripts using Deluge, Java, NodeJS, and Python. When the trigger and conditions are met, the workflow engine automatically runs the function to update CRM records.

Scheduled Actions

You can also schedule these actions to happen at a specified time once the rule is triggered. A maximum of five scheduled actions can be created.

Notes
Note:
  1. When associating actions with a subform workflow rule, not all existing actions are listed. Only actions created for the subform's parent module are available. For example, if the rule is for a subform of the Deals module, only actions created for Deals can be associated.
  2. Actions can be performed for the subform rows and parent/related records of the subform. 
  3. You can associate a maximum of five email notifications, five field updates, one function, and one webhook with a single instant action.
  4. Actions execute in the following order: Field Update > Email Notification > Slack Notification, Cliq Notification, Webhook, Function.
  5. Rules created for the same module or subform execute in chronological order. To change the execution order, you can reorder the rules. Click here to learn about reordering.
  6. Notifications via Cliq, Slack, and Cisco can be triggered through both instant and scheduled actions.

Filter rules by module and subforms

On the Workflow Rules home page, you can filter the rule list by module or subform. Search for the name, or scroll through the list, to narrow results down to rules built on a specific module or subform.

Timeline

Any action made to a record's subform through a workflow rule are grouped and listed under the record's Timeline tab, along with the name of the workflow rule.

For example, if a workflow rule associated with the Product Details subform makes a change to the subform, the Timeline shows an entry such as: Workflow Actions were performed for the Subform Product Details via Workflow Rule High Discount Escalation. Click View Details to expand and see the full set of actions. The parent-module-level actions are listed separately below them. 

The lookup-module-level actions are recorded in the lookup record's Timeline tab.

Limitations

  1. Subform workflow emails aren't listed in the Related List.
  2. Parent record triggers don't trigger subform workflows.
  3. Email templates for subform notification actions: 
    1. Are stored in the Public Email Templates folder by default
    2. Aren't listed on the Email Templates list view page
    3. Can't be created directly from the Templates page
  4. Subform workflows aren't supported for CPQ subforms.
  5. Subform workflow rules don't apply to serial number changes.



        Create. Review. Publish.

        Write, edit, collaborate on, and publish documents to different content management platforms.

        Get Started Now


          Access your files securely from anywhere

            Zoho CRM Training Programs

            Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

            Zoho CRM Training
              Redefine the way you work
              with Zoho Workplace

                Zoho DataPrep Personalized Demo

                If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

                Zoho CRM Training

                  Create, share, and deliver

                  beautiful slides from anywhere.

                  Get Started Now


                    Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                    BOOK A SESSION







                                Quick LinksWorkflow AutomationData Collection
                                Web FormsEnterpriseOnline Data Collection Tool
                                Embeddable FormsBankingBegin Data Collection
                                Interactive FormsWorkplaceData Collection App
                                CRM FormsCustomer ServiceAccessible Forms
                                Digital FormsMarketingForms for Small Business
                                HTML FormsEducationForms for Enterprise
                                Contact FormsE-commerceForms for any business
                                Lead Generation FormsHealthcareForms for Startups
                                Wordpress FormsCustomer onboardingForms for Small Business
                                No Code FormsConstructionRSVP tool for holidays
                                Free FormsTravelFeatures for Order Forms
                                Prefill FormsNon-Profit

                                Intake FormsLegal
                                Mobile App
                                Form DesignerHR
                                Mobile Forms
                                Card FormsFoodOffline Forms
                                Assign FormsPhotographyMobile Forms Features
                                Translate FormsReal EstateKiosk in Mobile Forms
                                Electronic Forms
                                Drag & drop form builder

                                Notification Emails for FormsAlternativesSecurity & Compliance
                                Holiday FormsGoogle Forms alternative GDPR
                                Form to PDFJotform alternativeHIPAA Forms
                                Email FormsFormstack alternativeEncrypted Forms

                                Wufoo alternativeSecure Forms

                                TypeformWCAG

                                  Zoho FSM Video Tutorials


                                        All-in-one knowledge management and training platform for your employees and customers.

                                                  Create. Review. Publish.

                                                  Write, edit, collaborate on, and publish documents to different content management platforms.

                                                  Get Started Now




                                                                    You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                                        Manage your brands on social media


                                                                          • Desk Community Learning Series


                                                                          • Digest


                                                                          • Functions


                                                                          • Meetups


                                                                          • Kbase


                                                                          • Resources


                                                                          • Glossary


                                                                          • Desk Marketplace


                                                                          • MVP Corner


                                                                          • Word of the Day


                                                                          • Ask the Experts


                                                                            Zoho Sheet Resources

                                                                             

                                                                                Zoho Forms Resources


                                                                                  Secure your business
                                                                                  communication with Zoho Mail


                                                                                  Mail on the move with
                                                                                  Zoho Mail mobile application

                                                                                    Stay on top of your schedule
                                                                                    at all times


                                                                                    Carry your calendar with you
                                                                                    Anytime, anywhere




                                                                                          Zoho Sign Resources

                                                                                            Sign, Paperless!

                                                                                            Sign and send business documents on the go!

                                                                                            Get Started Now




                                                                                                    Zoho TeamInbox Resources





                                                                                                              Zoho DataPrep Demo

                                                                                                              Get a personalized demo or POC

                                                                                                              REGISTER NOW


                                                                                                                Design. Discuss. Deliver.

                                                                                                                Create visually engaging stories with Zoho Show.

                                                                                                                Get Started Now








                                                                                                                                    • Related Articles

                                                                                                                                    • Building a Subform

                                                                                                                                      In simple terms, a subform is a secondary form or a table, which enables you to add multiple line items to a primary form. Your CRM data are often inter-dependent. You may have the necessity to associate multiple items to a single record. In ...
                                                                                                                                    • Creating Workflow Tasks

                                                                                                                                      Workflow Tasks are among the actions associated to a workflow rule. A task is an activity that is assigned to a user. When you associate a workflow task to a workflow rule, it is automatically assigned to the user when the rule is triggered for the ...
                                                                                                                                    • Workflow Scenarios

                                                                                                                                      Workflow rules help automate several sales processes in your business. Following are a couple of scenarios that demonstrate the use of workflow rules in Zoho CRM. Create a workflow rule to automate task assignment Let's say you want a task to be ...
                                                                                                                                    • Workflow Report

                                                                                                                                      Workflow rules play a crucial role in simplifying your business processes by automating various tasks. By defining specific conditions, you can determine whether a rule should be applied or not to the records in your system. This automation helps in ...
                                                                                                                                    • Configuring Workflow Rules

                                                                                                                                      Workflow Rules in Zoho CRM, are a set of actions (email notifications, tasks and field updates) that are executed when certain specified conditions are met. These rules automate the process of sending email notifications, assigning tasks and updating ...
                                                                                                                                      Wherever you are is as good as
                                                                                                                                      your workplace

                                                                                                                                        Resources

                                                                                                                                        Videos

                                                                                                                                        Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                                        eBooks

                                                                                                                                        Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                                        Webinars

                                                                                                                                        Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                                        CRM Tips

                                                                                                                                        Make the most of Zoho CRM with these useful tips.



                                                                                                                                          Zoho Show Resources