Queue Management

Arigato Automation: Queue Management Guide

Accessing the Workflow Task Queue

To view the queue for a specific workflow:

  1. Navigate to the Workflow from the dashboard.
  2. Go to Settings for the specific workflow you want to check.
  3. Scroll down to the Workflow Task Queue section.

Here, you will see the current status. It may show "No tasks currently in queue" or, if there's a backlog, a message like:

This workflow currently has >65,000 tasks in queue.

Emptying a Workflow Task Queue

If you have a significant backlog (e.g., >100,000 tasks), once the workflow is optimized, the fastest way to recover is to empty the queue and start fresh.

 Important Warning: Emptying the queue is permanent. This will:
  • Delete all queued actions.
  • Disable any scheduled actions.
  • Stop any running bulk operations.

To empty the queue:

  1. Click the option to manage or empty the queue. A confirmation dialog will appear.
  2. You must type EMPTY QUEUE Exactly as shown in the text field.
  3. Click the [Yes, empty this queue] button to confirm.

Common Causes of Workflow Backlogs

Backlogs often occur due to workflow configuration rather than a single error. Here are the most frequent patterns:

  1. Product Update Workflows Triggering Too Often: These workflows fire on every product change, including title edits, metafield updates, imports, syncs, and updates from other apps. During a bulk import or high-sales period, this can create a large queue almost instantly.
  2. High Webhook Volume: A sudden surge in traffic or data syncing from connected platforms can create backlogs.
  3. Inefficient Workflow Logic: Complex workflows with multiple actions or conditions that need to fetch extra data can process more slowly, causing a bottleneck.

See also

Preventative Tips

  • Use the "Ignore webhooks" setting: Check the box for "Ignore webhooks triggered by Arigato workflow actions" in your workflow Settings. This prevents the workflow from triggering itself in a loop and reduces unnecessary load. 
  • Review Triggers: If you have a Product Update workflow, consider if it needs to run on every single update, or if you can add conditions to narrow its scope.
  • Monitor queue regularly: Check the Workflow Task Queue section periodically to catch backlogs before they grow to hundreds of thousands.