Webhook logo
Auth0 logo

Workflow template

Get an Auth0 user from a webhook

Retrieve an Auth0 user profile from user_id sent to your webhook. Use a dedicated M2M application authorized for read:users in the tenant that owns the user.

How it works

From an Auth0 user ID to its profile

1 Trigger · 1 Action
Webhook1 · Trigger

User ID received

Receive a JSON object containing user_id. The included auth0|FICTIONAL_USER is a placeholder; use an existing user you are permitted to read.

Auth02 · Action

Get the Auth0 user

Read the user by ID through the connected Auth0 tenant. The returned profile is available to later steps; this action does not create or update users or send messages.

The result

The requested user profile in the action output

Example Auth0 user lookup webhook JSON

{ "user_id": "auth0|FICTIONAL_USER" }

Included fictional ID, not a captured user profile. Replace it with an existing ID in the connected tenant and inspect the returned profile before mapping it to another app.

Before activation

Set up your workflow

  1. Connect the correct Auth0 tenant

    Use a dedicated M2M application authorized for read:users. Choose an existing user ID from that tenant; the sample does not contain credentials or a real private user ID.

  2. Prepare and protect the user lookup request

    Send user_id at the top level of webhook JSON. Protect the generated endpoint so only intended senders can request profiles through your connected application.

  3. Inspect the profile before adding a destination

    Activate and send a controlled lookup for a user you may read. Compare the returned profile with Auth0 and map only the fields your later steps need. Pause disables the webhook source.

Details and limitations
  • Tenant and application access determine the lookup. The action reads through the connected Auth0 tenant using read:users authorization. An ID is not permission to read users from another tenant.

  • A profile read does not change the user. No user creation, update, password action or message is configured. The workflow does not synchronize profile changes or import every user.

  • Review the returned data before sharing it. The profile remains in the action output until you add another step. A repeated request reads it again rather than maintaining a destination copy; protect access to the source endpoint.

Questions about this template

Which Auth0 connection is required?

Use a dedicated M2M application authorized for read:users in the tenant that owns the user. Send an existing user ID you are permitted to read.

Can I use auth0|FICTIONAL_USER from the example?

It is a placeholder, not a real profile. Replace user_id with an existing ID in the connected tenant; an ID from another tenant does not grant access.

Will the workflow create, update or message the user?

No. It reads the profile only. No creation, update, password action or messaging step is prepared.

Where does the returned profile go?

It remains in the Auth0 action output for later mapping. Review fields before sharing them with another app. There is no automatic destination sync, and pausing disables the webhook source.

Explore connected apps

App integrations