Error Notification

The Error Notification feature warns users when they encounter an error during automation configuration. Execution log records this error, and the recipient is notified via email.

Follow the steps below to configure the error notification settings for your automation:

  1. Log in to your Contentstack account.
  2. In the left navigation panel, click Automation Hub.
  3. Within the Projects page, click the Settings icon next to the + New Project button.
  4. Within the Automation Hub Settings modal, enable the Email Notifications toggle button to send an email notification to the recipients. You can select multiple users to send emails at once. Choose the Primary Recipient(s) from the dropdown, i.e., Automation Creator, Org Owner, or Org Admins. You can also select other users who can access Automation Hub and the respective Project from the Add Other Recipients(s) dropdown. After adding recipients, click Save to save your settings.
    If you select the recipient as Automation Creator, Org Owner, or Org Admins, then the email notification will be sent to the creator of that automation, owner, or admins of the organization.

    Note: By default, the setting is disabled. You can enable it from the Projects landing page.

  5. By setting the Frequency of Notifications,you can send email notifications to the recipients Immediately, Daily, and on a Weekly basis.

    Note: A report will be generated if you select Daily or Weekly frequency to send the notifications.

  6. Let’s understand how a recipient is notified via email through a simple use case. Create a new automation and follow the steps given below:

  1. Configure Trigger

    1. In the Configure Trigger section, click HTTP.
    2. Select HTTP Request Trigger and click Proceed.

      Note: You can add security to the HTTP trigger using an API key. To do so, enable the toggle button.


    3. Send a request to the URL mentioned. Once done, click Test Trigger.
    4. Click Save and Exit.
  2. Configure Action

    Select the Transform connector and the Transform action.

    1. In the Transformation box, input the data as for ex: {'name': 'Error Notification'}. The JSON syntax for the transformation box data is incorrect. It is kept so to check if the user gets error notification for the same. Click Proceed.
    2. Click Test Action. You will get an error message. Click Save and Exit.

    3. Once done, enable the automation and navigate to the Execution Log section.

    4. Send the request to the URL mentioned in the HTTP Trigger to execute the automation. 
    5. You will see a failed execution in Execution Log.

    6. Navigate to the email client to check the email received for this error.Error-Messages-7.png

With Error Notification, you can get an instant response for your failed or unsuccessful automations.

Was this article helpful?