Skip to main content

Troubleshoot Workflow Failures in Torq

A practical troubleshooting guide for workflow failures in Torq.

Updated today

When a Torq workflow fails or behaves unexpectedly, the fastest path to resolution is to start with the most granular execution evidence and work outward. This guide walks through a structured troubleshooting approach, from step-level logs to workspace-wide monitoring, recovery, and escalation.

1. Start With the Step Execution Log

For most issues, start with the step's Execution Log. It provides the most granular evidence for what happened during a run, including both standalone step executions and step executions that occur as part of a full run.

When a step fails, Torq displays the status code, error reason, and suggested solution. Step execution history is retained for 30 days.

Tip: If the error isn’t immediately clear, use the Torq Knowledge Base or chatbot to map the message to the next troubleshooting step.

Review the Step Execution Log Tabs

The Step Execution Log includes Input, Output, and Debug tabs. Review them in this order:

  • Input: the exact values the step executed with.

  • Output: the step’s result, including the status/error information when the step fails.

  • Debug: additional diagnostic details (not every step provides debug data).

2. Review the Run in Context

After you identify the failing step, use the Run Log in the workflow designer to review the execution end-to-end. Run Log helps you confirm:

  • Which branches of the workflow were executed (based on conditions and paths taken)

  • The output of each step in that specific execution

  • Where the first failure occurred in sequence

3. Monitor Workspace Activity

Go to Monitor → Activity Log when you need a workspace-wide view of what happened and when you want ongoing monitoring across workflow runs. Activity Log is especially useful to:

  • Monitor executions over time

  • Confirm whether failures are isolated or recurring

  • Investigate events that did not trigger workflows

Activity Log tracks:

  • Triggered workflow runs

  • Single-step executions

  • Events that didn’t trigger a workflow

Recover After Fixing the Root Cause

Activity Log is also where Torq supports recovery actions at scale. Torq allows you to resend events that triggered workflow executions to recover from multiple simultaneous failures.

Resend applies to workflows that ended with Success, Failed, Stopped, or Dropped, and it does not support step execution.

Note: Recovery actions should follow a verified fix. Otherwise, the same failures typically repeat when you resend events.

4. Verify Failure Notification Coverage

Use troubleshooting as a checkpoint to confirm failure detection is configured, so similar issues are surfaced earlier.

Workflow-Level Notifications

Torq supports workflow-level failure notifications configured per workflow. These notify you when a published workflow fails and are typically used for ownership-based alerting (for example, notifying the team responsible for that workflow).

System Events for Failure Monitoring

Torq also provides System Events for workspace-wide monitoring. System Events can trigger workflows when platform-level events occur, including:

  • Workflow failure

  • Step failure

System Events are commonly used to build centralized monitoring, escalation, or reporting that reacts automatically to failures across multiple workflows.

Together, these options allow you to:

  • Receive direct notifications for specific workflows.

  • Build automated monitoring and response for failures across the workspace.

General Troubleshooting Checks

Use the following checks when the issue points to a specific failure category.

Validate Your JSON

If the issue appears to be invalid JSON, validate it using a third-party visual editor or validator.

Ensure any tool you use is approved for your environment, and avoid sharing sensitive or production data. Sanitize payloads before testing.

Review Workflow Version History

If multiple users update workflows in your workspace, review Version History to identify recent changes and correlate them with when failures started.

Troubleshoot Step Runner Issues

Some failures are not caused by workflow logic or configuration. Errors related to execution environment, connectivity, or resource availability may indicate a Step Runner issue.

For these cases, refer to the Troubleshoot Self-hosted Step Runners article.

Note: If you encounter a Contact support message during troubleshooting, include the following in your request:

Recommended Troubleshooting Flow

  1. Start with the step Execution Log to identify the failure reason and the suggested solution.

  2. Use the Run Log to review the execution in context and identify the first failure in the sequence.

  3. Use Activity Log to monitor scope across the workspace and resend eligible events after fixing the root cause.

  4. Confirm failure notifications are configured using Manage Notifications and System Events.

Did this answer your question?