Start Workflows with webhooks and local calls
Let outside systems like a shop dashboard or a form tool, or scripts on your own computer, start the Workflows in a space.
Usually a Workflow runs when you click it, or on a schedule. Sometimes you'd rather it ran when something happens: a new order lands in your shop dashboard, someone fills in your sign-up form, or a script of yours finishes a step.
That's what this page is for. There are two ways in:
- Webhook callbacks give a space its own web address. When another system sends a message to that address, it's as if someone clicked Run workflow for you. Use this for online services like shop dashboards, form tools and automation platforms.
- Local call works only on your own computer. Use it for your own scripts and command-line tools.
Either way, the Workflow runs on your computer, so Floatboat needs to be open and signed in.
This page gets a little technical: copying an address, pasting a token, maybe a line of curl. If all you want is a Workflow that runs every morning, you don't need any of this; see Run it every day on a schedule instead. If someone else is setting up the other system for you, feel free to send them this page.
Turn on webhook callbacks
Webhooks are set up per space. Each space gets its own address and token, and can only start the Workflows you allow in that space.
Open the space's Rules & connections
Click Agent Spaces in the sidebar to open your list of spaces. On the row for the space you want, click Rules & connections at the far right, then click Automation at the top.
Turn on Webhook callbacks and copy the token
When you flip the switch, a Webhook token window opens. The token is a string of characters that works like a key: the other system has to include it, or its messages are turned away.
The window says, "This token is shown only once." Click the copy button next to the token (Copy token), keep it somewhere safe, then click Done. Once the window's closed, you can't see that token again.
Check the Workflows it's allowed to start
A Workflows list appears under the switch, showing all your Workflows. Check the ones outside systems should be able to start (each box reads "Allow this webhook to trigger …"). Anything left unchecked can't be started, even by someone with the address and token.
Copy the address for the other system
Click the copy button next to Webhook URL (Copy Webhook URL). Put that address and your token into the webhook settings of the other system.
Together, the token and address let anyone start the Workflows you checked. Don't paste them into group chats, screenshots or public documents.
Lost the token, or worried it leaked?
Turn Webhook callbacks off and back on, and a new token pops up. The moment you switch it off, the old address and token stop working. After you switch it back on, go by the address shown on screen, update the other system with the new address and token, and double-check which Workflows are checked.
Done with it?
Just turn Webhook callbacks off. Messages sent to the old address won't start anything.
What the other system sends
If you're the one wiring up the other system, the easiest route is to copy a ready-made example from the Workflow itself. Go to Customize › Workflow, open the Workflow, scroll to the Webhook curl card and click Copy curl. The address, the Workflow's name and its inputs are already filled in; only the token needs swapping for yours.
The simplest request looks like this:
curl -X POST 'YOUR_WEBHOOK_URL' \
-H 'Authorization: Bearer YOUR_WEBHOOK_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"event_type": "workflow",
"payload": {
"workflows": [
{ "name": "daily-orders", "input": { "day": "2026-10-11" } }
]
}
}'nameis the Workflow's file name without.workflow.js. Daily order roundup lives indaily-orders.workflow.js, so it'sdaily-orders.inputholds the values for this run, the same ones you'd fill in when running it by hand. If there's nothing to fill in, use{}.- The example on the card also has an
Idempotency-Keyline. If the other system sends the same event twice with the same key, Floatboat only runs it once.
When your computer is off
Webhook messages go to Floatboat's service first and are passed on to your computer. If your computer is off or Floatboat isn't open, the message is usually held and run once Floatboat is back online. Don't count on it waiting forever, though: if timing matters, keep your computer and Floatboat running.
Let your scripts start Workflows with local call
If the thing starting your Workflow is a script on your computer, say a little program that tidies files and should then kick off Daily order roundup, local call is the more direct route. It only accepts requests from this computer and never goes over the network.
Turn on Local call
It's on the same Automation page under the space's Rules & connections, right below Webhook callbacks. Flip the switch and you'll get a token that's shown only once. Copy it and keep it safe.
Note the local address
The local address http://127.0.0.1:47615 appears under the switch, with two buttons next to it: Copy endpoint and Rotate token.
Copy an example from the Workflow
Go to Customize › Workflow, open the Workflow you want to call, find the Local call curl card and click Copy curl.

Unlike webhooks, local call has no checkboxes: a script with this space's token can start any Workflow in the space. All the more reason to keep the token to yourself.
The simplest request:
curl -X POST 'http://127.0.0.1:47615/v1/workflows/daily-orders/runs' \
-H 'Authorization: Bearer YOUR_LOCAL_CALL_TOKEN' \
-H 'Content-Type: application/json' \
-d '{ "input": {} }'It waits for the Workflow to finish, then hands the result back to your script. If you don't want to wait, add ?wait=false to the address. You'll get the run's ID right away, and can check on it later with the third command in the card's example.
To get a new token, click Rotate token. The new one pops up once, and the old one stops working right away. Turning Local call off also cancels the old token; turning it back on gives you a new one.
Check that it ran
Whether a webhook or a local call started it, every run is listed under Recent runs in the Workflow's details, right alongside the runs you started by hand or on a schedule. In the Workflows list under Webhook callbacks, each checked row also shows its last run.
Something not working?
- The Workflows list is empty. This space doesn't have any Workflows yet. Ask your Agent to write one, then click the refresh button at the top right of the list.
- The other system sent a message, but nothing ran. Check, in order: is that Workflow checked; was Floatboat open and signed in at the time; has the token changed while the other system still has the old one?
- A red line under Local call says "Local Workflow endpoint port 47615 is already in use." Another program on your computer has taken that port. Floatboat won't switch to a different port, so your scripts never end up talking to a program they don't know. Close the other program, then reopen Floatboat.
- It says "Could not load automation settings. Retry to see the current state." Usually a shaky connection. Click Retry.
- It says "Webhook operation failed. Try again later." Make sure you're signed in and online, then try again in a bit.
What's next
Ways to get your Agent started
By hand, on a schedule, with a command, a webhook, a calendar event or a chat: which to use when.
Let a Workflow run your routine jobs
Have your Agent write a Workflow, run it by hand, or put it on a schedule.
Keep each project in its own Agent Space
Give each job a space, with its files and tasks together.
Give Floatboat tasks from your chat apps with LinkMode
Away from your computer? Message Floatboat on your computer from a chat app like Feishu / Lark, and get the results back in the same chat. Here's how to connect, how to use it, and how to control who can send it work.
Save what works as a Combo Skill
Add ready-made Combo Skills from the store, use them in any task, and save a task that went well as your own, so you don't have to explain the same job twice.