Skip to main content

Automation Agent Email on Error - Knowledgebase / Automation Agent / Miscellaneous - Cavallo Technical Support

Automation Agent Email on Error

Authors list

Overview

Starting with version 5.2.30 of SalesPad, Automation Agent can send an email whenever an error occurs in an automation. This feature makes it easier to spot errors in the automation process and gives users a better chance to correct the errors while they’re still merely a minor inconvenience.


SMTP Setup

In order to send email, the SalesPad user who is running Automation Agent must have a Simple Mail Transfer Protocol (SMTP) configuration setup within SalesPad. There are two ways to configure this.

The first way is via the SMTP Setup screen. When Automation Agent sends an error, it first looks for a SMTP row with the following data:

  • Business Object = SystemUser

  • Column Name = User_Name

  • Column Value = (the SalesPad user who is running Automation Agent)

If there is a matching row, Automation Agent will use that SMTP information. If Automation Agent is running via the Automation Agent Service, the Column Value field must match the Automation Agent User Name setting’s value. Otherwise, the Column Value must match the currently logged in SalesPad user.

L71XruD2RDEjo_YzVlVPEbdj4sj4EUbShoxR5i7uUFaaAFdnW7T4gyoNWUKAvG-Ob1mvbjX60WSk8Y4rO_6e8efucWVA07nQH1iA.png?access_token=sncleb-fstxbvbilk-775f6e1f4b99f99f8f2525484f04eede4d57eb6a

For more information on how to use the SMTP Setup screen, please refer to this documentation.

If the SalesPad user doesn’t have a matching row on the SMTP Setup screen, Automation Agent will try to use the Sales Email Confirmation settings instead. Unlike configurations on the SMTP Setup screen, any SalesPad user can use this SMTP information.

bGDgeaFFlz83OVghVDap8UWUZedyv1Bt_-c9RFjVsseGEHta5ab1yJtYqLeyvQQyRNDLLtLgrnZCUgN99LXunam-2KddVXkQr-Mg.png?access_token=sncleg-cppqqjpttr-9a4749c77a5c6dc322437d3af2c2c295f6cf5a95



Settings

Once SMTP is configured, users can configure automations to send emails when errors occur. This configuration is per automation and is done on the automation’s Settings tab.

pz74urct8AJiZfqAIRjGOs2C5orPVHMgjONFLw2FNuK4JhFAlrnqFoEJ-5DbfN3bw3ETQfv5KaXJYyfKhnN_5As1gGfCwLH240Kg.png?access_token=snclef-zlwibhtgvt-5d1ceba429f6bae8812adadaf1fe8f74136c5669

Email Errors - If set to 'True' and the 'Email Errors From' and 'Email Errors To' settings are correctly filled out, Automation Agent will send an email for each error that reaches the Action Center. Defaults to 'False'.

Email Errors From - The email address which Automation Agent will use to send automation errors. The email address must be accessible by the SMTP Setup screen row which belongs to the system user who's running Automation Agent. If that system user doesn't have a SMTP Setup row, the email address must be accessible by the Sales Email Confirmation settings instead. Defaults to nothing.

Email Errors To - The email address which Automation Agent will send automation errors to. Defaults to nothing.

Error Email Outgoing Name - The outgoing name which Automation Agent will use when sending automation errors. If blank, the mail server will use a default value based on the sender's email address. Defaults to 'Automation Agent'.


Example

SalesPad’s Shopify integration has an order import. Automation Agent can encounter an eConnect error when it tries to import an order. If that integration has Email Errors set to ‘True’ and Email Errors From set to a properly configured email address, the email address specified in the Shopify integration’s Email Errors To setting will receive an email like the following:

dSVW5wKz0MnteTjVSy40vbrEo1G6hiKXFr7o80hL-Sf8zupZZgLE9CG7np8u8ecM9A10Y9FsgeeWxYh7LmCosGHZn-3ULxWTozw.png?access_token=sncled-fhatxtexzb-a6d2be4dbd42572476ab8dd27e2864a3e65d32bc


Helpful Unhelpful