User.com Webhooks

Webhooks

You can configure webhooks so that the completion of specific events within User.com triggers Cycles in Cyclr.

In this example, the creation of a new user triggers the webhook, and you can use a Cycle to retrieve that user’s details.

Create User.com automation

To configure the webhook, you need to create an automation within User.com:

  1. From your selected application’s dashboard, go to Automations.
  2. From the Automations page, select Create automation.
  3. From the Triggers menu, drag the New user trigger onto the automation builder.
  4. From the Actions menu, drag the Api call action onto the automation builder.

Get the Webhook URL in Cyclr

  1. In the Cyclr Builder, drag in the User Created and Get User By ID Methods.
  2. Select Step Setup on the User Created Step to show the its Cyclr Webhook URL.

Configure the automation in User.com

  1. In the User.com automation builder, select the API call module to configure its settings.
  2. Enter the Cyclr Webhook URL and add the header Content-Type: application/json, and select Save.
  3. From the top-right corner of the automation builder, select Save and exit.
  4. Enter a name for the automation.
  5. From the Timing drop-down, select Each time the condition is met, make sure Run this action – enable is activated, and select Save.

Set up the webhook in Cyclr

  1. In the Cyclr Builder, select Field Discovery for the User Created Step. This activates Cyclr’s Field Discovery.
  2. Create a test user in User.com to send to the Cyclr’s webhook Step, to provide the webhook with a user object to Discover the fields from.
  3. From the User.com dashboard navigate to Data > People.
  4. Select Create user, enter test data and select Save.
  5. Check for a notification within the Cyclr Builder that the fields have been successfully received.
  6. Map the required User ID within the Get User By ID‘s Step Setup.
  7. Select Run in the top-left corner of the Cyclr Builder.

    When the cycle is active, each time a user is created, the webhook triggers the Cycle to retrieve the new user’s details.