Skip to main content
Gainsight Inc.

Track Last Activity on People with Specific Roles

Gainsight NXT



It is really important to stay in touch with your customers regularly. However, it is difficult to manually track the list of customers with whom you have not had an interaction. This article uses the Activity Attendee object to configure a rule which creates a CTA, if users have not interacted with the Executive sponsor of a Company for the last 90 days.

Create Rule

To create the rule:

  1. Navigate to Administration > Rules Engine.
  2. Click + RULE. The New Rule window is displayed.
  3. Perform the following tasks:
  • Rule For: Select Account.
  • Rule Name: Enter a name for the rule.
  • Folder: Select a folder for the rule.
  • (Optional) Description: Enter a description for the rule.
  1. Click NEXT.

1. Create_rule.png

  1. Click DATASET.
  2. Select Matrix Data as the source.
  3. Select Activity Attendee as the source object.
  4. Include the following fields in the Show section:
  • Activity Id -> Activity Date
  • External Attendee GS Id -> Company ID -> CSM
  • Activity Id -> Account Id -> GSID
  • External Attendee GS Id -> Role
  • Activity Id -> Account Id


  1. Use the Max aggregation on the Activity Date field. This provides you the latest date on which an activity was performed.

3. Modifing_show_fields.GIF

  1. In the Filters section, drag and drop the External Attendee GS Id -> Role field.
  2. Select the Executive Sponsor option.
  3. Drag and drop the Activity Id -> Account Id -> Name field.
  4. Enter Abbett Corp. as the company name.
  5. Drag and drop Activity Date field to the filters section.
  6. Select != ,  Subtract N Days from Rule Date and enter 90.

4. Filters.png

  1. Click SAVE

Setup Rule Action

This section explains how to setup the Create CTA rule action for the above Dataset.

  1. Click Setup Action.
  2. Click + ACTION.
  3. Select Call to Action as the Action type.
  4. Select the mandatory fields of the CTA.
  5. Click SAVE.
  • Was this article helpful?