Skip to main content

Troubleshoot Playbooks

You can run playbooks in automations for monitors, Cloud SIEM, or Cloud SOAR. If a playbook has a problem when it runs in an automation, an error message often displays in the playbook providing information about the problem.

tip

To test a playbook before using it in an automation, see Test a playbook.

Test nodes in a playbook

The playbook Test Node toggle lets you test individual nodes of a playbook without needing to complete the entire flow. Testing individual nodes helps you improve your playbooks' reliability and shorten configuration time. You can provide mock values for variables used in the node, and run the results to see the output and any errors. The results provide informative messages to help you troubleshoot problems.

When you test nodes, keep in mind:

  • You can test action, condition, user choice, and task nodes. You cannot test filter or nested playbook nodes.
  • A single-node test does not execute downstream nodes. Only the selected node runs using the provided input. You cannot view the previous or past test node run executions.
  • Invalid JSON or missing required fields will block the test and show an error in the Output panel.
  • Before you can test a node, any node configuration changes need to be saved to the playbook draft. When you test a node, clicking SAVE & RUN TEST saves the node configuration to the same draft before executing.
  • Testing nodes counts against your action limit quota.

To test a node:

  1. Select a playbook.
  2. Click the Edit button at the bottom of the screen to make a draft of the playbook.
  3. Click the Edit button on a node.
  4. Click the Test Node toggle at the top of the Edit Node dialog. An Input panel appears to the left, and an Output panel appears to the right.
    Playbook Test Node toggle
  5. In the Input panel, enter variables to test the node. When you click SAVE & RUN TEST, results of the test appear in the Output panel.
    Ensure that you enter valid variables for the kind of inputs you need to test. Following are examples with different node types:
    • Action
      In the following example that uses input from insights, we provide an insight ID. The output shows the result of the action.
      Action node test variables
    • Condition
      In the following example that uses input from reputation vendors, we provide reputation scores. The output shows the result of the condition.
      Condition node test variables
    • User choice
      In the following example that uses user input data, we provide an email address. The output provides the resulting user choice. Click the user choice options to test whether they work as expected.
      User choice node test variables
    • Task
      In the following example that uses incident input data, we provide a mock template name. The output provides the resulting task. Click the task options to test whether they work as expected.
      Task node test variables
  6. Examine the results in the Output panel and take any action needed to troubleshoot node operation:
    • Click the information button Playbook Test Node JSON info button to see information on the test run:
      Playbook Test Node info
    • Click the JSON details button Playbook Test Node JSON details button to see the JSON output:
      Playbook Test Node JSON details
  7. Continue testing the node and making changes as needed in the node's configuration. When done, click Save.
  8. Test each node in your playbook that has the Test Node button (action, condition, user choice, and task). In each node, enter variables in the Input panel and examine the results in the Output panel to ensure the node works correctly.

After you're done testing individual nodes, test the entire playbook to ensure it runs end-to-end (see Test a playbook).

Test a playbook

You can test a playbook to verify that it works properly. The test results show the outcome as if the playbook actually ran.

  1. Select a playbook.
  2. Click the kebab button in the upper-right corner of the UI.
  3. Select Run Test.
    Run a playbook test
  4. In the Test playbook dialog, enter the requested information and click Run.
    Test playbook
  5. The results of the test are displayed in a new window labeled with the playbook name and (RUN TEST).
    Test results
  6. Click the clock icon in the upper-right corner to see the testing history. Select Latest actions to see test results for all the actions on the playbook, or select items on the list to see results for individual actions.
    Filtered test results

Open playbooks that require investigation

Open a playbook from an alert

  1. Access the alert list.
  2. Open an alert that uses a playbook.
  3. On the alert details page, click the Playbooks button to see automated playbooks attached to the alert.
    Playbook on an alert
  4. Hover your mouse over the icon to the right of the playbook to see its status. In the example above, the playbook completed with errors.
  5. To investigate the problem, click the playbook name. The playbook opens in the Automation Service and any issues display in the results section.
    An alert playbook with errors

Proceed to Investigate playbook problems below to look into playbook problems.

Open a playbook from Cloud SIEM

  1. Open an Insight or Entity that uses playbooks (that is, that has automations).
  2. Click the Automations button at the top of the page to view the automations on the Insight or Entity.
    Cloud SIEM automations
  3. Click View Playbook for a playbook you want to investigate. In the example above, the playbook we want to investigate completed with errors. The playbook opens in the Automation Service, and the issues display in the results section.
    A Cloud SIEM automation playbook with errors

Proceed to Investigate playbook problems below to look into playbook problems.

Open a playbook from Cloud SOAR

  1. Open an Incident.
  2. On the incident details page, select Operations > Playbooks. Playbooks appear that have run for the incident.
    Playbooks on an incident in Cloud SOAR
  3. Click Graph View in the upper-right and click > to page through the playbooks.
    Playbook in graph view in Cloud SOAR
  4. Click a node on the playbook that displays an error.

Proceed to Investigate playbook problems below to look into playbook problems.

Investigate playbook problems

After you have opened a playbook that requires investigation, follow the steps below to investigate problems with the playbook.

  1. The Filtered Results section shows the status of actions that ran on the playbook. The example below shows two failed actions that require investigation.
    Failed actions on a playbook
  2. Click an action for an explanation of the problem.
    Reasons for failed actions on a playbook
  3. For more detailed information about the action, click the Graph View in the upper right and then click on the action. A pane opens that displays more information about the action.
    Failed action in playbook graph view
  4. Sometimes the playbook's payload will provide more information about why an action has a problem. To view the playbook's payload, click > to the right of the playbook name.
    Open playbook payload
  5. Examine the playbook payload for information that might help you resolve the problem. For example, the payload may be able to tell you if a field has not been properly passed from a previous action, or a field was unintentionally left blank that the action requires.
    Playbook payload
  6. Based on what you uncover during investigation, you may need to make changes to the playbook and then test the playbook to ensure it works correctly.

Common playbook problems

Following are some common problems that can occur with playbooks:

  • No response from the bridge
    The automation bridge is offline, or the bridge does not have the egress firewall settings to handle the outbound request.
  • API rate limiting issues
    The vendor has capped the number of requests that can be made to their API in a certain time frame.
  • HTTPS connection pool issues
    There are no available connections at the vendor, usually indicative of a vendor API health issue.
  • A required field is empty that the action is looking for
    A field has not been properly passed from a previous action, or a field was unintentionally left blank that the action requires.
  • Permission denied
    The API key is incorrect on the integration resource, or the account running the playbook has invalid credentials or insufficient permissions.
  • You have exceeded the actions limit
    The number of actions that your organization can run per hour is limited to a certain threshold. Any actions that are launched beyond this actions limit will not run. You might exceed the limit if:
    • There are alert surges.
    • The playbook is not optimized properly and actions are stuck in a loop.
    • There are Cartesian flag issues (too many nested elements to process as part of the returned API result).
Status
Legal
Privacy Statement
Terms of Use

Copyright © 2025 by Sumo Logic, Inc.