> ## Documentation Index
> Fetch the complete documentation index at: https://zite.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Workflow Runs

> Understand workflow run usage and view, filter, and debug workflow executions with detailed logs.

<Frame>
  <iframe width="100%" height="420" src="https://customer-ji44lgw1t2h34eig.cloudflarestream.com/add3a9d334c8a427ebab0f0f558fdf39/iframe?poster=https%3A%2F%2Fcustomer-ji44lgw1t2h34eig.cloudflarestream.com%2Fadd3a9d334c8a427ebab0f0f558fdf39%2Fthumbnails%2Fthumbnail.jpg%3Ftime%3D%26height%3D600" title="Workflow run history overview" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowFullScreen />
</Frame>

<Tabs>
  <Tab title="Workflow runs">
    ## What is a workflow run?

    A workflow run is one successful execution of a workflow from a published app. No matter how many steps, nodes, integrations, loops, or bulk operations the workflow includes, it counts as **one workflow run**.

    Workflow runs are tracked separately from [credits](/help/platform/getting-started/credits). Each successful published-app execution uses 1 workflow run from your monthly workflow run allowance.

    <Info>
      Workflow runs in the editor do not count toward your monthly workflow run limit and do not consume credits.
    </Info>

    ## What counts toward your limit?

    | Execution type | Counts as a workflow run? |
    | - | - |
    | Successful workflow run from a published app | Yes |
    | Workflow run from the editor | No |
    | Failed run, timeout, or unsuccessful run | No |
    | Workflow with many steps, loops, or bulk operations | Yes, if the run status is `Success` |

    Check the run status in the workflow history. If the status is `Success`, it counts as a successful workflow run.

    ## Workflow runs and credits

    A workflow run and credits are separate usage types. A workflow can count as one workflow run and still consume credits if it performs credit-consuming actions.

    | Workflow activity | Usage |
    | - | - |
    | A published workflow runs successfully | 1 workflow run |
    | A workflow sends emails | 1 workflow run |
    | A workflow uses OpenAI with Zite's API key | 1 workflow run plus credits for the AI usage |
    | A workflow uses your own OpenAI API key | 1 workflow run, no Zite credits for that OpenAI usage |

    For example, if a published workflow runs successfully and sends two emails, it counts as one workflow run.

    ## Running out of usage

    If you run out of workflow runs or credits, your published apps continue to work for users. Workflows still execute, and AI-powered workflows continue to run. Existing apps and workspaces keep working even if your organization is over its limit.

    If your organization is over its workflow run limit, you cannot publish new edits until your usage resets or you upgrade your plan.

    Creating a new workspace is also limited when you are over your [workspace allowance](/help/platform/workspaces/plans-and-limits). Existing workspaces are not affected.

    ## Where to see usage

    Workflow run limits are tracked across your whole organization, not separately per app.

    To review usage, open [Billing & Usage](https://app.zite.com/home/settings/billing). You can use it to check workflow runs and OpenAI usage.

    <Info>
      Eligible existing paid customers receive a 50% higher workflow-run allowance across plans for as long as they keep an active subscription.
    </Info>

    ## FAQs

    <AccordionGroup>
      <Accordion title="Do simple and complex workflows count the same?">
        Yes. A workflow with 3 steps and a workflow with 30 steps both count as one workflow run if each is executed successfully from a published app.
      </Accordion>

      <Accordion title="Do failed runs, partial runs, retries, or timeouts count?">
        No. Only runs with a `Success` status count toward your monthly workflow run limit.
      </Accordion>

      <Accordion title="Do editor test runs count as workflow runs or credits?">
        No. Workflow runs in the editor do not count toward your workflow run limit and do not consume credits.
      </Accordion>

      <Accordion title="Can one workflow run also use credits?">
        Yes. If a workflow performs credit-consuming actions, those credits are consumed separately. For example, a successful workflow that uses OpenAI with Zite's API key counts as 1 workflow run plus credits for the AI usage.
      </Accordion>

      <Accordion title="Do OpenAI steps use credits if I use my own API key?">
        No. If your workflow uses your own OpenAI API key, Zite credits are not consumed for that OpenAI usage. The successful published workflow execution still counts as one workflow run.
      </Accordion>

      <Accordion title="Are workflow run limits per app?">
        No. Workflow run limits are tracked across your whole organization.
      </Accordion>

      <Accordion title="What happens if I go over my workflow run limit?">
        Published apps keep working for users, and existing apps and workspaces continue to work. You cannot publish new edits until your usage resets or you upgrade your plan.
      </Accordion>

      <Accordion title="Do workflow emails use credits?">
        No. Emails sent by workflows do not consume credits. A successful published workflow execution still counts as one workflow run.
      </Accordion>
    </AccordionGroup>
  </Tab>

  <Tab title="Workflow history">
    ## What is run history?

    Every time a workflow runs, Zite keeps a detailed log of what happened. You can see the inputs, outputs, and each step in between—making it easy to understand what's working and debug what isn't.

    <Frame>
      <iframe width="100%" height="420" src="https://customer-ji44lgw1t2h34eig.cloudflarestream.com/add3a9d334c8a427ebab0f0f558fdf39/iframe?poster=https%3A%2F%2Fcustomer-ji44lgw1t2h34eig.cloudflarestream.com%2Fadd3a9d334c8a427ebab0f0f558fdf39%2Fthumbnails%2Fthumbnail.jpg%3Ftime%3D%26height%3D600" title="Workflow run history overview" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowFullScreen />

      <iframe width="100%" height="420" src="https://customer-ji44lgw1t2h34eig.cloudflarestream.com/add3a9d334c8a427ebab0f0f558fdf39/iframe?poster=https%3A%2F%2Fcustomer-ji44lgw1t2h34eig.cloudflarestream.com%2Fadd3a9d334c8a427ebab0f0f558fdf39%2Fthumbnails%2Fthumbnail.jpg%3Ftime%3D%26height%3D600" title="Workflow run history overview" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowFullScreen />
    </Frame>

    <Info>
      Logs are retained for **90 days**.
    </Info>

    <Note>
      Only successful runs from your published apps count toward your monthly workflow run limit. Runs from the editor are free.
    </Note>

    ## Viewing run history

    Open any workflow and click the **History** tab to see all past runs.

    <img src="https://mintcdn.com/zite/iguXXMxNAqjCcaY0/help/images/zite/view-workflow-logs.png?fit=max&auto=format&n=iguXXMxNAqjCcaY0&q=85&s=b73dad4e9e6d13bfa6bfe365766ea1de" alt="Workflow run history" width="2278" height="1240" data-path="help/images/zite/view-workflow-logs.png" />

    Each run shows:

    * **Status** – Whether it succeeded or failed
    * **Mode** – `Live` (production) or `Preview` (testing)
    * **Time** – When it ran
    * **Duration** – How long it took

    Click any run to see the full details.

    ## Understanding a run

    When you open a run, you'll see a step-by-step timeline of everything that happened:

    <img src="https://mintcdn.com/zite/iguXXMxNAqjCcaY0/help/images/zite/view-individual-workflow-log.png?fit=max&auto=format&n=iguXXMxNAqjCcaY0&q=85&s=058c02fb78c3cc9190a1dc03cec9a711" alt="Run detail view" width="2258" height="1466" data-path="help/images/zite/view-individual-workflow-log.png" />

    * **Input** – The data that triggered the workflow
    * **Database calls** – Records that were read, created, or updated
    * **External requests** – API calls to other services
    * **Output** – The final result returned by the workflow

    API keys, client secrets, and tokens are hidden in recorded requests, including in older runs.

    If something went wrong, you'll see the error message and exactly where it failed.

    <Tip>
      Click any step to expand it and see the full input and output data.
    </Tip>

    ## Filtering runs

    Use the filters at the top to find specific runs:

    * **Mode** – Show only `Live` or `Preview` runs
    * **Status** – Show only successful or failed runs
    * **Time range** – Last hour, 24 hours, 7 days, etc.

    Click `Clear all` to reset the filters.

    ## Testing with custom inputs

    Click `Test run` to manually run a workflow with your own inputs.

    <Steps>
      <Step title="Click Test run">
        Open the workflow and click `Test run` at the top.
      </Step>

      <Step title="Enter your inputs">
        Fill in the form fields, or switch to JSON mode for raw input.

        <img src="https://mintcdn.com/zite/iguXXMxNAqjCcaY0/help/images/zite/test-run-workflow.png?fit=max&auto=format&n=iguXXMxNAqjCcaY0&q=85&s=ebf984e48d13fa9c04724664a6281555" alt="Test run modal" title="Test run modal" style={{ width:"60%" }} width="1424" height="1016" data-path="help/images/zite/test-run-workflow.png" />
      </Step>

      <Step title="Choose a user (if needed)">
        For workflows that require login, select which user to run as.
      </Step>

      <Step title="Run it">
        Click `Run` and check the result in your run history.
      </Step>
    </Steps>

    ## Replaying a run

    Want to run a workflow again with the same inputs? Click `Replay` from the run detail view. This creates a new run with identical input data—useful for testing a fix or reproducing an issue.

    ## Debugging with AI

    If something isn't working, ask Zite for help. The AI can read your workflow logs to identify what went wrong.

    Try prompts like:

    * "Why is my workflow failing?"
    * "What's causing the error in my getOrders workflow?"
    * "Help me debug this endpoint"

    When Zite requests access to your logs, you can:

    * `Allow once` – Share logs for this request only
    * `Allow always` – Let Zite read logs anytime (you can change this in settings)
    * `Skip` – Don't share logs

    <img src="https://mintcdn.com/zite/iguXXMxNAqjCcaY0/help/images/zite/zite-views-logs.png?fit=max&auto=format&n=iguXXMxNAqjCcaY0&q=85&s=4f785767ba66a831a2109ecc4eb1e858" alt="AI requesting log access" title="AI requesting log access" style={{ width:"85%" }} width="1192" height="848" data-path="help/images/zite/zite-views-logs.png" />

    <Info>
      Need help? Contact our support team at [support@zite.com](mailto:support@zite.com).
    </Info>
  </Tab>
</Tabs>

<div className="zite-related-topics">
  <a href="/help/platform/workflows/overview">Workflows</a>
  <a href="/help/integrations/overview">Connect to integrations</a>
  <a href="/help/platform/how-to-build/troubleshooting">Troubleshooting</a>
</div>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.