Prerequisites
ServFlow Pro running with the dashboard enabled:What you’ll build
An agent namedhello-agent with one workflow that answers GET /hello-world with a JSON greeting.
Step 1: Open the dashboard and sign in
Navigate to:The dashboard is served under
/dashboard on the same port as the engine — there is no separate dashboard port.Step 2: Create an agent
Agents are the top-level object in ServFlow — a workflow always belongs to one. On the landing screen choose Create New. The New agent dialog appears. Fill it in:- Agent name — enter
hello-agent - Under New, choose the option to start from scratch
Step 3: Add a workflow
In the workflow dialog:- Name — enter
hello-world - Entry type — choose API (HTTP)
- Agent — leave it set to
hello-agent
Since this is an HTTP endpoint, API (HTTP) attaches it to the agent as a webhook.
Step 4: Configure the entry
The workflow opens on the builder canvas with an HTTP entry node already created, pre-filled from the workflow name:- Method —
GET - Listen path —
/hello-world
Step 5: Add a response
Click the + button below the entry node. You’re offered three kinds of step:- Actions — do work: call an AI model, query a database, make an HTTP request
- Branch — route conditionally
- Responses — return something to the caller
- Set the status code to
200 - Set the response body to:
Step 6: Save
Click Save. The workflow is stored and served immediately; there’s no separate deploy step and no restart.Step 7: Call your endpoint
The engine owns the root path, so the workflow answers at its listen path directly:You’ve built an agent with a live HTTP endpoint.
What you just created
- An agent —
hello-agent, the container that owns this work - A workflow attached to it as a webhook, because it has an HTTP entry
- Inside that workflow, an entry wired to a response
servflow-pro resource.
Next steps
Deploy declaratively
Define the same workflow as a file and deploy it from the CLI.
Actions
Add real work to your workflow.
Running ServFlow
Understand what your instance serves and how to deploy it.
Secrets Management
Store API keys your agent needs.