Quickstart: webhook to table
In this tutorial you’ll build a flow from a blank canvas: a live HTTP endpoint that stores every request it receives as a row in a table. Along the way you create the three kinds of building blocks most flows use (a webhook, a table, and the flow itself), then publish, arm the trigger, and watch a real request land.
What you will build:
Webhook trigger → Start → Transformer → Table Store InsertTime: about 15 minutes.
Prerequisites
Section titled “Prerequisites”- An account on a Publicus workspace with permission to create flows, webhooks, and tables.
- A terminal with
curlto send test requests. - Quickstart: your first flow helps but is not required.
Step 1: create the table
Section titled “Step 1: create the table”-
In the sidebar, open Tables in the Data group and click New table.


-
In Table name, type
Submissions. -
Click Add a column three times and fill in each column’s Name and Type, leaving its Label empty:
Name Type submitter_emailText subjectText messageText -
Click Create.
Publicus creates the table right away. It has no rows yet; your flow fills it in step 6.
Step 2: create the webhook
Section titled “Step 2: create the webhook”- Open Webhooks in the Services group and click New webhook.
- Name it
Contact form webhook. Leave Allowed IP addresses empty and leave Channel handler on Generic (no verification). - Click Create.
You land on the webhook’s page. Under its name is the address the outside world can call. Copy it with Copy, you’ll send a request to it in step 6.


Step 3: create the flow
Section titled “Step 3: create the flow”-
Open Flows in the Automation group and click New flow.


-
Title it
Webhook to Submissionsand click Create.
The canvas opens with a single Start node already on it. Start is the flow’s entry point: it carries the data a run starts with, and it stays. Your trigger wires into it, and every working node hangs off it.


Step 4: add the Webhook trigger
Section titled “Step 4: add the Webhook trigger”-
Click Add node on the canvas.
-
Type
webhookinto the search and pick the entry described as “Start the flow from an inbound HTTP webhook”, under Triggers — start the flow. The node is added as soon as you pick it, named Webhook.

-
The new node shows Not connected under its title: it is not wired into Start yet, and a trigger that is not wired into Start never starts a run. Drag a connection from the port on the node’s right edge to the bolt port on Start’s left edge. The mark disappears.


-
Click the node to open its settings. Its name is the heading: click it and rename the node
Contact webhook. In Webhook, select Contact form webhook, then click Save changes.


The node now carries an Off badge. The trigger exists but is not armed yet; you switch it on in step 6, after publishing.
Step 5: shape the row and insert it
Section titled “Step 5: shape the row and insert it”A webhook run starts with the whole request: its method, URL, headers, and
the body under payload. Your table wants three named columns, so a
Transformer builds the row before a Table Store Insert writes it.
-
Click Add node and pick Transformer (under Transform & data).
-
Drag a connection from the port at the bottom of Start to the port at the top of the Transformer.
-
Click the Transformer, rename it
Build rowby clicking its name, and paste this into Template:{"submitter_email": {!! json_encode($start->payload->email) !!},"subject": {!! json_encode($start->payload->subject) !!},"message": {!! json_encode($start->payload->message) !!}}$startholds the data the run started with, so the request body sits under$start->payload.json_encoderenders each value as a valid JSON string. Expressions covers the full grammar.

-
Click Save changes.
-
Click Add node again and pick Table Store Insert (under Storage).
-
Connect the Transformer’s bottom port to the Insert node’s top port.
-
Click the Insert node and rename it
Insert submission. In Table, select Submissions, then click Save changes.
Your canvas now reads top to bottom: the webhook fires into Start, Start
hands the start data to Build row, and Insert submission writes the
result.
Step 6: publish, arm, and send a request
Section titled “Step 6: publish, arm, and send a request”Triggered runs execute the published version of a flow, not the draft on your screen. Publish first, then switch the trigger on.
-
Click Publish in the top bar. The Publish v1 confirmation says this is the first version. Click Publish in it. A notification reports Published v1.


-
Click the Off badge on the webhook node. The Trigger controls modal opens.
-
Switch Active on and click Save.


The badge now reads On, with a “never” note because no run has started yet. The version note on the toolbar reads Live: v1: the runs the webhook starts execute published version 1. Fix that from your terminal, using the URL you copied in step 2:
curl -X POST https://your-publicus.example/webhook/YOUR_WORKSPACE_ID/YOUR_WEBHOOK_ID \ -H "Content-Type: application/json" \ -d '{"email":"alice@example.com","subject":"Hello","message":"Trying the webhook."}'Publicus answers {"message":"ok"} immediately and starts the run in the
background.
Step 7: inspect the run and the row
Section titled “Step 7: inspect the run and the row”-
Open Runs in the Operations group. The newest run at the top is yours.
-
Open it. The report lists every node in the run; click through them to see what went in and out. The Transformer’s output is your reshaped row.


-
Open Tables in the Data group and click Rows on the Submissions line. The row is there, with the email, subject, and message from your request.
Run the curl again with different values and refresh: every request adds
a row.
What you built
Section titled “What you built”You built a live HTTP endpoint from nothing: a webhook resource, a table, and a flow connecting the two, with a Transformer reshaping each request body into a row. You also walked the full release loop (publish, arm, trigger, inspect), which is the same loop every scheduled, channel, or agent-triggered flow follows.
Next steps
Section titled “Next steps”- Verify signatures and lock down senders: Receive webhooks.
- Guard against payloads that miss a field: Conditional logic.
- See everything tables can do: Tables.
- Read the run report in depth: Runs.
- Look up the two worker nodes: Transformer and Table Store Insert.