Announcing Contentstack Launch - front-end hosting serviceAnnouncing Contentstack LaunchRead more

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. On 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 Settings modal, enable the Email Notifications toggle button to send an email notification to the recipient. You can choose the recipient from the dropdown, i.e., CreatorOwner, or Admin and Save your settings. If you select the recipient as Creator, an email notification will be sent to the creator of that automation. If it is set to either Owner or Admin, then the notification will be sent to the owner or the admin of the stack.

    Note: By default, the setting is disabled, you need to enable it once you land on the projects page.


    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?