How to set up triggers in the Supplier Invoices App?

Updated on June 30, 2022 05:53AM by Admin

The Supplier Invoices App of Apptivo allows you to automatically generate an action whenever a certain condition matches the supplier invoice record. You can configure it to generate an action when a supplier invoice is created or edited. Similarly, you can also customize to generate action at a particular time. This action is achieved with the help of the Triggers feature available in the Supplier Invoices App.

Note: This feature is available in the Premium, Ultimate, and Enterprise plans of Apptivo. There are two types of triggers available in the Supplier Invoices App.

  • Event Based - An action is generated when a record is created or updated depending on the criteria configured.
  • Time Based - An action is generated at a particular time. This can be one-time or recurring.

Types of Actions

  • In both types, the actions that are produced are the same. The different types of actions offered by the Supplier Invoices App are listed below.
    • Send Email - An email is sent automatically when the condition matches a record.
    • Update Attribute - When the condition matches, the selected attribute is updated.
    • Update Associated Reference App Attributes - The value in the associated app is updated automatically.
    • Call a Webhook URL
    • Task - A task is created automatically.
    • Event - An event is created automatically.
    • Note - A note is added automatically.
  • There is also a provision to create a task, event, or note depending on the Mapping.

Note: You can add more than one action at a time for a trigger.

Let’s walk through the steps to create an event-based trigger where the action is to create a note.

Steps to setup triggers

  • Log in and access the Supplier Invoices app from the universal navigation menu bar.
  • Click on the More(...) icon and select Settings.
SI - Settings
  • On the settings page, go to Supplier Invoices → Triggers → Event Based Triggers. On the Event-Based trigger page, select Create to create a new trigger.
SI - EB Create
  • On the Create Trigger page, add a Name for the trigger. In addition to this, you can also set the event during which the action has to occur. It can be when a supplier invoice is created or updated. Here, is the supplier invoice Created.
  • To have the trigger in operation, keep the Enabled toggle ON.
  • In the Criteria section, determine the condition during which the trigger has to occur. Here, the condition is to generate an action when the status is “Paid”.
SI - EB Name
  • You can make use of the “Actions” to set the type of trigger. Click on the Add button. The action chosen is to Send Email.
SI - EB Add
  • In the Create External Email popup, enter the details From Address, Email Template, CC Address, and Trigger to.
  • Once the configuration is complete, select Create. A trigger is configured.
SI - EB Mail Created
  • Once the action is configured, click on the Create button.
SI - EB Created
  • When the supplier invoice is created, As the condition matches in the record, a new mail will be sent automatically.
SI - EB Sent Mail