Quickstart
In this page we are going to demonstrate how to create your first workflow in Port. We will build a simple self-service workflow that sends a webhook notification when triggered.
Prerequisites
Get acccess to the workflows (beta) feature in your Port organization.
Set up
You can create workflows in Port using three approaches:
- Visual editor - Build workflows by dragging and connecting nodes in a visual graph.
- JSON editor - Define workflows directly in JSON for precise control.
- Build with AI - Describe your workflow in natural language and let AI generate it for you.
Using the visual editor
-
Go to the Workflows page of your portal.
-
Click on the
+ Workflowbutton in the top-right corner. -
Click on Skip to editor to open the workflow editor.
-
Add action nodes by clicking on nodes in the left sidebar and connecting them to build your workflow.
-
Configure each node by clicking on it and editing its properties in the right panel.
-
Click
Publishto save your workflow.
Using JSON
-
Click on the JSON tab in the editor to switch to JSON mode.
-
Copy and paste the following JSON into the editor:
Workflow JSON example (click to expand)
{
"identifier": "my-first-workflow",
"title": "My First Workflow",
"icon": "Workflow",
"description": "A simple webhook workflow",
"nodes": [
{
"identifier": "trigger",
"title": "Start",
"config": {
"type": "SELF_SERVE_TRIGGER",
"userInputs": {
"properties": {
"message": {
"type": "string",
"title": "Message",
"description": "The message to send"
}
},
"required": ["message"]
}
}
},
{
"identifier": "send-webhook",
"title": "Send Webhook",
"config": {
"type": "WEBHOOK",
"url": "https://example.com/webhook",
"method": "POST",
"body": {
"message": "{{ .outputs.trigger.message }}"
}
}
}
],
"connections": [
{
"sourceIdentifier": "trigger",
"targetIdentifier": "send-webhook"
}
]
}
Build with AI
Port's AI assistant can help you build workflows using natural language:
-
Open the AI assistant on the right side of the workflow editor.
-
Describe what you want your workflow to do in natural language, for example:
- "Create a workflow that sends a Slack notification when a service is deployed".
- "Build a self-service workflow that creates a new GitHub repository".
- "Make a workflow that updates an entity's status after a webhook response".
-
The AI will generate the workflow for you, which you can then review and modify as needed.
Tips for AI-assisted workflow building:
- Be specific about the trigger type (self-service vs event-based).
- Describe the actions you want to perform in sequence.
- Mention any conditions or branching logic needed.
- Specify the data you want to pass between nodes.
- Specify the secret names you want to use for authentication.
Next steps
Now that you've created your first workflow, explore these topics:
- Self-service trigger - Learn how to configure user inputs and triggers.
- Event trigger - Create workflows that respond to entity changes.
- Action nodes - Explore all available action types.
- Examples - See real-world workflow examples.