Identify users from webhook calls

When your Bridge scenario triggers a webhook in your system, you'll often need to identify which of your users initiated the scenario. Passing a user ID directly to this webhook is a way to achieve this.

To configure your Bridge template to include a user ID:

1

In your Bridge template, add an HTTP > Make a request module to call your webhook.

2

Under Query String, click Add parameter.

3

In the Name field, enter a name to represent your user ID. In this example, userID.

4

Mark the Value as Show in wizard.

5

Click the Copy icon to copy the Field ID.

The Field ID will look like this: 08d6c70a-2e39-44b4-a321

6

Click Save.

7

When you initialize a flow from this template, use hard prefill in the request body to prefill the ID of your user in this field:

{
  "prefill": {
    "hard": {
      "08d6c70a-2e39-44b4-a321": 12345
    }
  }
}

In this example:

  • 08d6c70a-2e39-44b4-a321 is the Field ID

  • 12345 is the user ID from your system.

The userId you prefilled will be passed to your webhook when the scenario is executed.

Last updated