Background
Webhooks extend the way Lumos connects with your company apps. SeeExtending Lumos With Webhooks This guide shows you how to set up a webhook so that you can use it in your workflows.Steps
1. Go to Settings → Webhooks.
“Webhooks” is in the “Dev Tools” section of the Settings menu, below “Security”. On a short or zoomed-in browser window, the bottom of that menu can be cut off, so zoom out or go straight to your webhooks in Lumos. To add or test a webhook, you need the Admin role or a custom role that can manage Webhooks.2. Click “Add Webhook” and choose the type.

3. Fill in the details.
- In “Name”, add a name that will be clear when you’re adding the webhook to a workflow later.
- In “Description” (optional), say what the webhook does.
- In “Endpoint URL”, enter the URL Lumos sends the webhook payload to (via HTTP POST) to trigger your script or workflow. The endpoint must be reachable over the public internet.
- In “Custom Headers”, add any authentication your endpoint needs. iPaaS tools such as Okta Workflows and Workato often require a specific type. Even for a custom serverless function, Lumos recommends authenticating requests with a shared credential, such as an API key.
4. Click “Test Webhook”.
“Test Webhook” sends a sample request to your “Endpoint URL” with your “Custom Headers”, so you can check that your endpoint is reachable and replies in a format Lumos can read.- The sample request is in the “Request Body” section above the button. Expand it to see or edit it. Lumos fills it with example values for the webhook type you chose. You can change the values to try different cases, but the body must stay valid JSON. Your edits apply only to the test and aren’t saved with the webhook.
- When a real request triggers the webhook, Lumos builds the payload from that request. The payload can’t be customized, and it can include fields the sample leaves out, such as
request_commentandrequest_task_url. - If the test works, Lumos shows “Success!” with the result it read from your endpoint’s reply, such as
{"response": "PREAPPROVED", "msg": null}. If it fails, Lumos shows “Error dispatching your webhook…” with the reason. - Lumos signs test requests only after the webhook is saved. To test signature checks, click “Save”, open the webhook again, and run the test.
