Receive from a URL work widget
Get a web address of your own. What another service sends to it lands on your desk and flows along the wires you draw out of the work widget.
The Receive from a URL work widget gives you a web address of your own. Give that address to another service, such as a form, a payment service, an automation service or a script. Each time the service sends a message to the address, the message arrives in the work widget and travels along the wires you draw out of it, into a note, a table or a Send to a URL work widget.
The work widget itself shows the address, not the messages. To read what arrives, wire it into a note, as described below.
For the opposite direction, sending your desk's updates to another service, use the Send to a URL work widget.
Before you start
- The Receive from a URL work widget is on every plan.
- You need to be signed in to your PlexiiDesk account. The work widget creates its address through your account. See Create an account and sign in.
- Messages arrive while PlexiiDesk is open, signed in, with the desk that holds the work widget open. A message sent at any other time is not kept, so plan for the service to send when you are working, or have it try again.
Add a Receive from a URL work widget
- Open the desk you want it on.
- In the side menu, under Work widgets, click Other work widgets to open that list, unless you have moved Receive from a URL to the main list.
- Click Receive from a URL. A Receive from a URL work widget is added to the open desk. Or drag Receive from a URL onto the desk and let go where you want it, or right-click it and choose Add to this desk.
What arrives flows along the wires drawn out of it on its own desk, so it never becomes a work widget file: it belongs to the desk you add it to. With no desk open, clicking it shows the notice Receive from a URL only works on a desk — open a desk, then add it from here. Its right-click menu then says Only works on a desk.
You can also right-click an empty part of the desk and choose Add object > Advanced > Receive from a URL, or press ⌘ K on a Mac or Ctrl K on Windows, type receive and choose Add Receive from a URL work widget to desk.
The work widget says Creating your URL… for a moment, then shows its address. Each Receive from a URL work widget has its own address, and it keeps it.
Copy the address
- Click Copy beside the address. The button says Copied.
- Paste the address into the other service, where it asks for a webhook URL or a URL to send to.
Give the address only to the services that should send to this work widget: anything sent to it lands on your desk.
What the other service should send
- Method:
POST. - Body: JSON or plain text, up to 256 KB.
- Reply: when the message is accepted, the service gets the reply
202. - How often: up to 30 messages a minute to one address. Beyond that, messages are refused until the minute is up.
To try it yourself from a terminal, send a short JSON message to the address, for example with curl -X POST -H "content-type: application/json" -d '{"hello":"desk"}' followed by the address.
See what arrives
The work widget keeps the last message it received, and passes it along every wire drawn out of it. To read it, wire it into a note:
- Add a Note, Markdown note or Sticky to the desk.
- Point at the Receive from a URL work widget and click the link button in its title bar. Its tooltip says Click, then click another work widget to connect them.
- Click the note.
- In How should this connect?, choose Keep in sync.
Each new message now replaces what the note shows. The message arrives exactly as it was sent, so a JSON message appears as JSON.
Where else a message can go
Draw a Keep in sync wire from the work widget to any of these:
| Work widget | What happens to each message |
|---|---|
| Note, Markdown or Sticky | It replaces the text. |
| Page | It replaces the page, laid out as paragraphs. |
| Card | Its first line becomes the card's title and the rest its text. |
| Table | The table's AI turns it into rows. This needs AI to be set up. See AI credits and where your AI runs. |
| Field | It becomes the field's value, converted to the field's type. |
To pass each message on to another service, wire the work widget into a Send to a URL work widget. Any kind of wire works for this.
To have AI act on each message, send it into a note first, then wire that note into a Desk agent set to On change. See Send desk updates to other services and receive events back for a worked example.
Wires leaving the work widget are listed in the Automations panel, where you can switch each one off. See See what runs on its own on a desk.
Sharing the desk by link
A link never carries a Receive from a URL work widget. On a live view, a snapshot or a desk someone can use, it shows as a placeholder that says Inbound hook — not available publicly, and its address and what it last received are not sent. See Private work widgets stay on your computer.
Common questions
The work widget says inbound webhooks aren't available yet. The full message is Inbound webhooks aren't available on your server yet. Once it's updated, reopen this desk and a URL will appear here. It shows when the work widget could not create its address, most often because you are not signed in. Sign in, then open another desk and come back to this one.
The service says it sent a message, but nothing arrived. Check that PlexiiDesk was open, signed in and showing this desk at the time. Messages sent while it was closed are not kept. Also check that the wire out of the work widget is on, in the Automations panel.
Where can I see earlier messages? The work widget keeps only the latest one. To keep a running list, wire it into a note and have a Desk agent add each message to a log. See Keep a running summary with a desk agent.
Can I get a new address? Not for the same work widget. Add a new Receive from a URL work widget for a new address.
Related tasks
Was this helpful?
Still need help? Contact support at connect@plexiidesk.com.