Skip to main content
Workflows are in Beta. Start with a Valyu-curated workflow, inspect its inputs, and submit a research task. Completion time depends on the selected mode.
This example runs a company-profile workflow for NVIDIA. Workflows save the instructions and deliverables while you supply inputs such as the company name. To write your own research question instead, use the DeepResearch quickstart.
1

Get your API key and install an SDK

Create a key in the platform, check your balance and install an SDK.
2

List the Valyu workflows

Browse the available curated workflows and grab a slug.
3

Inspect a workflow's variables

Each workflow declares typed variables. Read them so you know exactly what workflow_params to send. The ib-company-profile workflow (“Company Profile”, investment-banking) takes one required variable, company.
Look at the variables array - each entry has a key, type (text / textarea / number / date / enum), and a required flag.
4

Run it

Pass workflow_id and workflow_params to deepresearch.create. Do not also send a freeform query - the two are mutually exclusive.
5

Poll for completion and get the deliverable

The run is a normal DeepResearch task. Poll until it finishes, then read the report and fetch deliverables.
Want to confirm the resolved prompt before paying for a run? Call valyu.workflows.preview(slug, workflow_params=...) (POST /v1/workflows/{slug}/preview) first - it resolves the workflow without running anything.

Next steps

Customize and version workflows

Preview a resolved prompt, change run settings or save your own workflow.

DeepResearch guide

The async research engine workflows run on.