Skip to content

Add comprehensive Workflow SDK how-to guide#104

Closed
caidobot wants to merge 1 commit intomainfrom
main-a9967c0c4238d474
Closed

Add comprehensive Workflow SDK how-to guide#104
caidobot wants to merge 1 commit intomainfrom
main-a9967c0c4238d474

Conversation

@caidobot
Copy link
Contributor

Summary

This PR adds a comprehensive how-to guide for the Caido Workflow SDK that fills a documentation gap identified in the SDK reference surface.

What's New

New Guide: src/guides/workflow_sdk.md (776 lines)

A practical, goal-oriented how-to guide (following Diátaxis principles) that teaches developers how to effectively use the Workflow SDK. This guide complements the existing reference documentation with real-world examples and step-by-step instructions.

Topics Covered

  • Getting Started — Basic workflow structure and SDK overview
  • Requests — Reading, querying, modifying, and sending HTTP requests
  • Findings — Creating and managing security findings
  • Projects — Accessing current project information
  • Environment Variables — Reading and creating environments
  • Network Operations — TCP/TLS connections and connectivity checks
  • GraphQL Queries — Executing queries and error handling
  • Hosted Files — Uploading and reading files
  • Common Patterns — Batch processing, analysis, conditional modification, error handling, and parameterization

Updates

  • Updated .vitepress/sidebars/guides.ts to include the new guide under "Backend Guides > Workflow Scripts"

Gap Analysis

The Workflow SDK reference documentation in src/reference/sdks/workflow/ contains 14 detailed reference pages (requests, findings, projects, environment, net, graphql, etc.), but lacked a corresponding how-to guide to teach practical usage patterns. This PR addresses that gap.

Benefits

  • Developers can now find practical examples for common workflow tasks
  • Guide links to detailed API references for deeper information
  • Covers real-world patterns (batch processing, error handling, etc.)
  • Complements existing guides like querying_requests.md and replay.md

Generated by Doc-developer - Add Guides ·

Create a new how-to guide that teaches developers how to practically use the Workflow SDK APIs:
- Getting started with workflow scripts
- Querying and sending HTTP requests
- Creating and managing security findings
- Accessing project information
- Using environment variables
- Performing network operations
- Executing GraphQL queries
- Working with hosted files
- Common patterns and best practices

The guide complements existing reference documentation with practical examples and step-by-step instructions for common tasks. It covers requests, findings, projects, environment, net, and graphql modules with working code examples.

Update guides sidebar navigation to include the new Workflow SDK guide under Backend Guides.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@caidobot caidobot requested a review from Corb3nik as a code owner March 14, 2026 11:57
@caidobot caidobot temporarily deployed to main-a9967c0c4238d474 - doc-developer PR #104 March 14, 2026 11:57 — with Render Destroyed
@Corb3nik
Copy link
Member

Workflow SDK is out of scope in this doc. It's very similar to developer docs and doesn't deserve its own article.

@Corb3nik Corb3nik closed this Mar 14, 2026
@Corb3nik Corb3nik deleted the main-a9967c0c4238d474 branch March 14, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants