feat(examples): add load-and-edit workflow SDK example in Python and TypeScript (#441)

Closes #370
This commit is contained in:
nuthalapativarun 2026-06-18 02:00:04 -07:00 committed by GitHub
parent f586aebe5b
commit e7b67e0efb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 145 additions and 1 deletions

View file

@ -26,6 +26,10 @@ python python/fetch_workflow_and_call.py
# Create a new workflow from a definition.
python python/create_workflow.py
# Load an existing workflow, edit the startCall prompt, and save as a draft.
# Edit WORKFLOW_ID at the top of the file first.
python python/load_and_edit_workflow.py
```
## TypeScript
@ -41,4 +45,5 @@ export DOGRAH_API_TOKEN=sk-...
npm run call # fetch_workflow_and_call.ts
npm run create # create_workflow.ts
npm run edit # load_and_edit_workflow.ts (edit WORKFLOW_ID in the file first)
```