Inspect and run a published project
Run a reviewed workflow and check its output without creating a duplicate run if the first response is delayed.
Before you start
You need access to a project with a published version and permission to run it. Prepare the values for each required input. A workflow can send messages or change external records; inspect its integrations before execution.
Select and inspect the project
Call
whoamiand confirm the organization.Call
projects_listand select the project ID. Checkis_published.Call
projects_getwithversion: "published". Confirmsource_versionispublished. A fallback todraftdoes not establish that the workflow can run.Read the input configuration and required-input list. Follow graph pagination so you can see the actions it will execute.
Run with the required inputs
Call projects_run with keys from the discovered input configuration. This example applies only if the actual keys are in-0 and doc-0:
{
"project_id": "<project-id>",
"inputs": {
"in-0": "Summarize this document.",
"doc-0": [
"<signed-file-url>"
]
}
}Upload a local file first using the file-upload recipe. Document and image inputs use URL arrays, including for one file.
Check the result
Read output_text for the main text response, or result for the full run payload. Keep any run identifier and link returned by the run. If you need the execution trace, find the matching run through runs_list and inspect it with runs_get.
A tool response and a workflow result are different checks: inspect execution failures as well as the returned answer. If the call times out, inspect run history before deciding whether to submit another run.
Tool reference
Was this helpful?

