--- title: "Rule Templates (Beta)" slug: "rule-templates-beta" updated: 2026-11-23T12:31:35Z published: 2026-11-23T12:31:35Z canonical: "support.gainsight.com/rule-templates-beta" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.gainsight.com/llms.txt > Use this file to discover all available pages before exploring further. # Rule Templates (Beta) Note - BETA Article Please note that this is a BETA document. You might notice changes in the final version of this document. If you have any feedback, feel free to share with us at docs@gainsight.com. ## Overview Rules Engine includes well-built rule templates with a variety of use cases for creating attractive and actionable rules. You can select existing rule templates into Horizon Rules and create new ones. To access rule templates, navigate to **Administration > Rules Engine**. **Example Business Usecase:** Consider a scenario where a non-technical admin, new to rules, needs to create rules. With the help of rule templates, they can select any existing template that matches their requirements, resulting in a hassle-free experience. To learn about various use-case scenarios, they can also explore other workflows that are included in the current templates. With Rule Templates, you can do the following: - [Select a Template](/v1/docs/rule-templates-beta#select-a-template) - [Customize Templates](/v1/docs/rule-templates-beta#customize-templates) ## Select a Template When creating rules, it is recommended to select from existing rule templates based on the required use case scenarios for a hassle-free experience. To select a rule template: 1. From the **Create Rule** drop-down, select **Get Started with a Template**. The Create a rule using templates dialog box appears. 2. Select the desired template. The preview of the selected template appears in the Preview pane. ![Rules Manager 2024-01-28 at 12.31.19 PM.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Rules_Manager_2024-01-28_at_12.31.19_PM.jpg?sv=2026-02-06&spr=https&st=2026-11-24T16%3A55%3A44Z&se=2026-11-24T17%3A55%3A44Z&sr=b&sp=r&sig=Ahh2g7AIVuWH90m2VJu9%2FJWkEjvGwknPGPJspyTlpmQ%3D) As an admin, you have two options for rule creation: - Use an existing template: Select a pre-defined template to quickly establish rules. OR - Create your own rule: Click **Create from Scratch** to create a custom rule according to your specific requirements as mentioned below: ![Rules Manager 2024-01-28 at 12.36.08 PM.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Rules_Manager_2024-01-28_at_12.36.08_PM.jpg?sv=2026-02-06&spr=https&st=2026-11-24T16%3A55%3A44Z&se=2026-11-24T17%3A55%3A44Z&sr=b&sp=r&sig=vJPl%2BAJ9YdaeDNuDgI%2FdbePVmiJa0cHEmxvALvddBcY%3D) - *(Optional) Click* ***Create from Scratch*** *to exit from the templates and redirect to the Rule Details page to create your own rule.* - *(Optional) Click* ***Cancel*** *to exit from the template. For more information on the Rule Details section, refer to the* [*Rules Engine Horizon Experience Overview*](/v1/docs/rules-engine-horizon-experience-overview#rule-details) *article.* 3. Click **Use Template.** The selected template’s configuration page appears. ![rule template 1 (1).png](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/rule_template_1_(1).png?sv=2026-02-06&spr=https&st=2026-11-24T16%3A55%3A44Z&se=2026-11-24T17%3A55%3A44Z&sr=b&sp=r&sig=fMYRMErDXqva8rWrusWodKjw0CMK4waUGKV43b1bnU0%3D) 4. *(Optional) Click the edit icon to change the template name.* 5. From the *folder* drop-down, select the folder type in which you want to store this rule. 6. *(Optional) Update the configuration fields highlighted in the template.* 7. *(Optional) Schedule the rule to a daily, weekly, monthly, or manual cycle.* ![Rules Manager 2024-01-28 at 12.48.32 PM.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Rules_Manager_2024-01-28_at_12.48.32_PM.jpg?sv=2026-02-06&spr=https&st=2026-11-24T16%3A55%3A44Z&se=2026-11-24T17%3A55%3A44Z&sr=b&sp=r&sig=t1BJ%2FU1ypAJL8PtQOgbh04DlRv%2BlFs9JrT3A3CKhIEc%3D) ![Rules Manager 2024-01-28 at 12.54.34 PM.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Rules_Manager_2024-01-28_at_12.54.34_PM.jpg?sv=2026-02-06&spr=https&st=2026-11-24T16%3A55%3A44Z&se=2026-11-24T17%3A55%3A44Z&sr=b&sp=r&sig=zEe4Wnw%2BESkG6KN1pfSj%2F%2FmJWVoLHumhB3bFnmxcDxg%3D) 1. Select your rule based on the desired schedule (daily, weekly, or monthly), and click **Publish Rule.** The rule gets listed on the rules list page and gets run on the selected scheduled period. 2. If you select the rule manually, click **Publish and Run Rule**. - You can either publish the rule and run it later from the Rules List page or click **Run Now** to run the rule. ![Rules Manager 2024-01-28 at 1.00.37 PM.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Rules_Manager_2024-01-28_at_1.00.37_PM.jpg?sv=2026-02-06&spr=https&st=2026-11-24T16%3A55%3A44Z&se=2026-11-24T17%3A55%3A44Z&sr=b&sp=r&sig=9%2BQtr5JTe0arCWZC2Znf9%2FX9Rd%2B0QubfysulDJeF2S8%3D) ### Scorecard Templates Set Score Rule Action templates allow you to create a workflow that automatically updates a measure score when a specific criteria is met. The following four rule action templates are available: | **Template Name** | **Description** | | --- | --- | | Set score for NPS® (Net Promoter Score) measure based on average NPS® score | Updates the NPS® measure score based on the average NPS® score over the specified number of days. | | Set score for CSAT (Company Satisfaction Survey) measure based on average CSAT score | Updates the CSAT measure score based on the average CSAT score over the specified number of days. | | Set score for Engagement measure based on timeline activities | Updates the Engagement measure score based on Timeline activities, specifically Calls and Meetings, over the specified number of days. | | Set score for Support score measure based tickets volume | Updates the Support measure score based on the volume of support tickets, considering their Status and Priority, over a specified number of days. | To use a Set Score Rule Action template: 1. From the **Create Rule** drop-down list, select **Get started with the Template**. The Use Templates to Create a Rule dialog box appears. 2. From the list of templates, select the desired Set Score Rule Action template. 3. Provide the following information in the template: 1. In the **For Input Range** section, define following values based on the type of template selected: - NPS Measure Template: Average NPS score values - CSAT Measure Template: Average CSAT score values - Engagement Measure Template: Number of timeline activities - Support Measure Template: Number of support tickets 2. In the **Set Score** section, define the score for every input range defined above. 4. *(Optional)* Click **Preview** to view the configured action setup. 5. Click **Publish Rule**. The rule is published successfully. Consider the example below: when the rule executes, the NPS measure score is set as follows: - 90, if the average NPS score over the past 180 days is 9 or higher. - 65, if the average NPS score over the past 180 days is between 3 and 8. - 35, if the average NPS score over the past 180 days is 2 or less. ![Gainsight rules engine interface configuring scores for Net Promoter Score (NPS) measure based on average NPS, with specified input ranges and set scores.](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/NPS_Measure_Rule_Template_Example_with_Defined_Set_Score_Values.jpeg?sv=2026-02-06&spr=https&st=2026-11-24T16%3A55%3A44Z&se=2026-11-24T17%3A55%3A44Z&sr=b&sp=r&sig=mCDwErgfACGXrH31TFZEr9ojOCRPQyOeFWa0J6agJdc%3D) **Note:** - A single rule action template cannot update the score of a measure used in multiple scorecards. For such cases, create a separate rule for each scorecard. - The Set Score scheme, numeric, grade, or color, is determined by the scheme in use on the selected scorecard. - Only predefined day ranges such as 30, 60, 90, 120, and 180 days are allowed. Custom date ranges are not permitted. ### Cockpit Templates Create and Close CTAs templates allow you to create a workflow that automatically updates CTAs when specific criteria are met. The following four rule action templates are available: | **Template Name** | **Description** | | --- | --- | | Create a CTA for a new customer sign-on. | Simplifies the setup of customer onboarding processes. | | Create a CTA for companies with a renewal date delayed by {30} days. | Allows you to create a CTA for upcoming renewals. Also, allows for adjustment to the default N-day timeframe to accommodate the delay. | | Close CTAs with a due date exceeding {180} days. | Automatically identifies and closes CTAs that have exceeded their due date by more than N days. | | Create a CTA when a company’s renewal date is within {60-90} days. | Initiates reminder CTAs for renewals occurring within N days. | To use Call to Actions templates: 1. From the **Create Rule** drop-down list, select **Get started with the Template**. The Use Templates to Create a Rule dialog box appears. 2. From the list of templates, select the desired CTAs Rule Action template. 3. Provide the following information in the template: 1. In the **For Input Range** section, define the required inputs based on the type of template selected: - Create a CTA for a new customer. - Create a CTA for companies with lapse renewal days. - Close CTAs with a due date exceeding {180} days. - Create a CTA for the upcoming company’s renewal date. 2. From the **Schedule, this rule** dropdown, select the time frame. 4. *(Optional)* Click **Preview** to view the configured action setup. 5. Click **Publish Rule**. The rule is published successfully. ![Preview pane of rules engine showing a Template to create a Call to Action for companies with delayed renewals.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Rules_Cockpit_templates.jpg?sv=2026-02-06&spr=https&st=2026-11-24T16%3A55%3A44Z&se=2026-11-24T17%3A55%3A44Z&sr=b&sp=r&sig=O8c5k8R9i394H0KsVxzckK9HTQM11YXA%2Bp12Zr19LWg%3D) ### Cross-Product Templates Cross-product templates help customers leverage multiple product integrations such as CC, CE, or PX by tracking key metrics across products and taking action when a risk or opportunity is identified. The following four rule action templates are available: | **Template Name** | **Description** | | --- | --- | | Update score for Product Adoption of a company based on number of active users visiting the product. | Update the adoption score based on the number of active users over the last {n} days. | | Create a CTA for companies that have fewer certified users. | Create a CTA for companies with few certified users. | | Update score for user engagement based on users enrolled for a course. | Update the engagement score based on course enrollments. | | Create a CTA when community engagement decreases over time. | Create a CTA when end-user interactions in the community decrease. | To use a cross-product template: 1. From the **Create Rule** drop-down list, select **Get started with the Template**. The Use Templates to Create a Rule dialog box appears. 2. From the list of templates, select the desired Rule Action template. 3. Provide the following information for scorecard related template: 1. In the **For Input Range** section, define the following values based on the type of template selected: - Set score based on the number of active users over the last {n} days. - Create a CTA for companies with fewer certified users. - Set score based on course enrollments. - Create a CTA when end-user interactions in the community decrease. 2. From the **Run this rule** dropdown, select the time frame. 4. *(Optional)* Click **Preview** to view the configured action setup. 5. Click **Publish Rule**. The rule is published successfully. **Important**: Cross-product templates are installed only if the relevant product (PX, CC, or CE) is purchased and a connection is established. ![Rules Engine interface with a modal to create a Call to Action (CTA) for companies with fewer certified users, specifying the conditions, playbook, and run mode options.jpeg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/A49299A4-3953-40DB-8849-1EC0B9D2A1CA_1_201_a.jpeg?sv=2026-02-06&spr=https&st=2026-11-24T16%3A55%3A44Z&se=2026-11-24T17%3A55%3A44Z&sr=b&sp=r&sig=P3tUPcafW0aAZSqFWRXoWaC0o3NQRUfH9Ko2daCKZ%2FM%3D) ## Customize Templates In addition to the available templates, you have the flexibility to create more complex rules through customized templates. To customize a template: 1. From the **Create Rule** drop-down, select **Get Started with a Template.** The Create a rule using templates dialog box appears. 2. Select the desired template. The preview of the selected template appears in the Preview pane. ![Rules Manager 2024-01-28 at 12.31.19 PM.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Rules_Manager_2024-01-28_at_12.31.19_PM.jpg?sv=2026-02-06&spr=https&st=2026-11-24T16%3A55%3A44Z&se=2026-11-24T17%3A55%3A44Z&sr=b&sp=r&sig=Ahh2g7AIVuWH90m2VJu9%2FJWkEjvGwknPGPJspyTlpmQ%3D) 3. Click **Use Template.** The selected template’s configuration page appears. ![rule template 1.png](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/rule_template_1.png?sv=2026-02-06&spr=https&st=2026-11-24T16%3A55%3A44Z&se=2026-11-24T17%3A55%3A44Z&sr=b&sp=r&sig=Uv4NEDiLFLfjNU5bt4avRkIitZPkxR53%2BrwDjBxAUU0%3D) 4. Click **Go to Custom Mode** to customize the template. Once you switch to custom mode, you cannot go back to the template mode. ![Rules Manager 2024-01-28 at 3.18.06 PM.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Rules_Manager_2024-01-28_at_3.18.06_PM.jpg?sv=2026-02-06&spr=https&st=2026-11-24T16%3A55%3A44Z&se=2026-11-24T17%3A55%3A44Z&sr=b&sp=r&sig=DlUjdLOYpc2BPGyYCBWOxQ10%2FmaC9pEkYuVUFH%2ByNbU%3D) 5. In the warning dialog box that appears, click **Proceed to Custom Mode** to confirm your choice. 6. In the Rule Details page, customize the template as per the requirement. ![Rules Manager 2024-01-28 at 12.36.08 PM.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Rules_Manager_2024-01-28_at_12.36.08_PM.jpg?sv=2026-02-06&spr=https&st=2026-11-24T16%3A55%3A44Z&se=2026-11-24T17%3A55%3A44Z&sr=b&sp=r&sig=vJPl%2BAJ9YdaeDNuDgI%2FdbePVmiJa0cHEmxvALvddBcY%3D) ## Additional Resources - [*Rules Engine Horizon Experience Overview*](/v1/docs/rules-engine-horizon-experience-overview#rule-details) | *Net Promoter®, NPS®, NPS Prism®, and the NPS-related emoticons are registered trademarks of Bain & Company, Inc., NICE Systems, Inc., and Fred Reichheld. Net Promoter ScoreSM and Net Promoter SystemSM are service marks of Bain & Company, Inc., NICE Systems, Inc., and Fred Reichheld.* | | --- |