Create a Port self-service action with a DAY-2 webhook backend

domain: docs.getport.io · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. In the Port UI or API, create a self-service action scoped to a blueprint with trigger type DAY-2 (operations on existing entities such as scale, restart, or promote).
  2. Configure the action's backend as type WEBHOOK and provide the target URL of your automation endpoint (a custom server, GitHub Actions webhook, or similar).
  3. Define the action's user input form using the userInputs schema; Port renders this as a form that users fill out before the action executes.
  4. Port sends a POST request to the webhook URL with a payload containing the action identifier, the triggered entity's data, and the user-supplied inputs; implement a receiver that validates and processes this payload.
  5. Call back to the Port API (PATCH https://api.getport.io/v1/actions/runs/{run_id}) with status SUCCESS or FAILURE to reflect the action result in the Port audit log and entity timeline.
  6. Restrict who can trigger the action using the requiredApproval field or role-based permissions in the action configuration to gate sensitive day-2 operations.

Known gotchas

Related routes

Create a Port self-service action that triggers a GitHub Actions workflow to provision a new environment and reports the provisioning result back to Port using the Port API
docs.getport.io · 5 steps · unrated
Trigger a service redeploy in Portainer via webhook
docs.portainer.io · 5 steps · unrated
Create a HubSpot workflow with a CRM object enrollment trigger and a webhook action using the Automation API
developers.hubspot.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans