Create Zendesk user from function call

Recipe ToolsCustomer Service

What it does

When a function call arrives with user details, this automation searches Zendesk for that user. If the user does not exist, it looks up the role ID and creates the user in Zendesk, then returns the result to the caller.

Who it's for

IT teams who need to provision Zendesk users through an API without manual setup.

How teams use this

Provision users from an HR system

When an HR system calls this function with new hire details, Zendesk users are created automatically with the correct role. The HR team no longer needs to create Zendesk accounts manually.

Onboard users in a customer portal

Extend this automation to check a customer status lookup table before creating the user, so only active customers get Zendesk access. Add a condition to filter by customer tier.

Route user creation to different Zendesk instances

Retarget this automation to route function calls to separate Zendesk instances based on region or business unit. The steps stay the same and only the target changes.

How it works

  1. Receive the function call. A real-time function call arrives with the user details needed to create a Zendesk account.
  2. Search Zendesk for the user. Search Zendesk for an existing user with that email so someone does not create a duplicate record.
  3. Retrieve the role ID. Look up the role ID from the Zendesk Role IDs lookup table to assign the correct role to the new user.
  4. Create the user in Zendesk. Create the user in Zendesk with the email, name, and role ID. If an error occurs, the job stops and does not retry.
  5. Return the result to the caller. Send the result back to the system that initiated the function call so it knows the user was created in Zendesk.