Your First Workflow
Build a complete workflow from scratch.
What We're Building
A simple AI assistant that:
- Receives a question via webhook
- Processes it with GPT-4
- Returns the answer
Step 1: Create the Workflow
- From your dashboard, click Workflows
- Click New Workflow
- Name it "AI Q&A Assistant"
Step 2: Add the Trigger
- Find Webhook Trigger in the node palette
- Drag it onto the canvas
- Configure: Method = POST
Step 3: Add the AI Node
- Drag an LLM node onto the canvas
- Connect the Webhook to the LLM node
- Configure:
- Model: GPT-4
- System Prompt: "You are a helpful assistant."
- User Message:
{{trigger.body.question}}
Step 4: Add the Output
- Drag an Output node onto the canvas
- Connect the LLM node to the Output node
- Configure: Output =
{{llm.output.content}}
Step 5: Test
- Click Save
- Click Test
- Enter test data:
{
"question": "What is the capital of France?"
}
You should see the AI's response in the execution log!