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=snx3qd-kvehnurczv-8d46ab901483d501f405130051b57b3b78fda535

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=snx3q7-hzmqvzfljg-7fcab1e55416f6cd31b8f2b87a0f189f2de8109b



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=snx3q8-oezqliuiya-8f3d644a183052adae77d8f642340aa4d806c24f

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=snx3q9-gnuwovtcyw-0cc3dcf66ca2d068e110d52bce75d0a332ae7751


Helpful Unhelpful