Running from the Console
The Console is the fastest way to test a workflow during development. Open it by clicking the play icon on the workflow canvas in Studio. Type or paste an input payload, click Run, and watch each block’s output appear in real time as the workflow executes. You can inspect the input and output of every individual block without writing a single line of integration code. Use the Console to:- Confirm your input payload shape before wiring up a real trigger or API call
- Spot errors in individual blocks without deploying anything
- Test edge cases quickly — paste a bad payload to confirm your validation logic fires correctly
- Reproduce a production failure by copying the input from a failed run in Logs
Running via REST API
Trigger a workflow from any backend service, script, or automation tool using the Scout REST API. Send aPOST request to the workflow execute endpoint, passing your inputs in the request body.
{workflow_id} with your workflow’s ID, found in the workflow settings panel in Studio. Set environment to development, staging, or production depending on which revision you want to run.
Running via SDK
The Python and TypeScript SDKs wrap the REST API with type safety, automatic retries, and streaming support. Use the SDK when integrating Scout into your application backend.Streaming
For workflows that include LLM blocks or other long-running steps, use streaming to receive output tokens as they arrive rather than waiting for the full response. This is especially useful when surfacing LLM-generated text directly in a UI.Webhook Triggers
Configure a webhook trigger on your workflow to run it automatically whenever an external service sends an HTTP event — a form submission, a payment notification, a CRM update, or any other webhook-capable tool. When you add a webhook trigger in Studio, Scout generates a unique endpoint URL:POST request to this URL, Scout runs the workflow immediately, passing the entire request body as {{ inputs.webhook_body }}.
Webhook triggers always run against the production revision of your workflow. Test your webhook handling in the Console first by pasting a sample payload from your external service.
Targeting Environments
Always specify an environment when calling via the API or SDK. This determines which revision of your workflow runs — not just a label.| Environment | When to use |
|---|---|
development | Active building and iterating in Studio |
staging | Pre-production validation with realistic inputs |
production | Live user traffic and production integrations |
staging explicitly lets you run automated checks against a pre-production revision before promoting it:
Next Steps
Environments
Promote workflow revisions from development to production and roll back when needed.
Logs
Inspect run status, duration, and block-level output after each execution.
Blocks
Understand what each block type does and how to connect them.
Creating Workflows
Structure your workflow with the validate-fetch-decide-act-return pattern.