Skip to main content

Create User

AutomatR.Zendesk.Activities.CreateUser

The "Create User" activity in AutomatR is part of the Zendesk activities package, allowing the creation of new users in Zendesk. This activity streamlines the process of adding users, providing essential details such as name, email, and other optional information.

Properties

NameDescription
Input
NameThe name of the user. Enter a string or a String variable.
EmailThe primary email address of this user. Enter a string or a String variable.
PhoneThe primary phone number of this user. Enter a string or a String variable.
Organization IDThe ID of the user's organization or, if the user has more than one organization membership, the ID of the user's default organization.
DetailsAny details you want to store about the user, such as an address.
Ticket RestrictionSpecifies which tickets the user has access to. Enter one of four options: Organization, Groups, Assigned, Requested.
Time ZoneThe user's time zone. Enter a string or a String variable. For example, "Copenhagen."
RoleChoose the role of the user.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelayEnter the wait time in seconds (Example: 5 seconds i.e., 5) to start the activity.
Output
ResultCreated user details in the form of IndividualUserResponse.

How to use:

  1. Drag and drop the "Create User" activity onto the workflow.
  2. Configure the properties by specifying the user's name, email, and other optional details.
  3. Optionally, configure the delay and customize the display name.
  4. Execute the workflow to create a new user in Zendesk.

Example:

Consider an example where the "Create User" activity is used to create a new user:

Create User:
Delay: 0
Name: "John Doe"
Email: "john.doe@example.com"
Phone: "123-456-7890"
Organization ID: 98765
Details: "123 Main St, Cityville"
Ticket Restriction: "Organization"
Time Zone: "Copenhagen"
Role: "Enduser"
Result: createdUserDetails

In this example, the activity creates a new user named "John Doe" with the email "john.doe@example.com" and other optional details. The user is associated with the organization with ID 98765, and the ticket restriction is set to "Organization." The created user's details are stored in the variable createdUserDetails for further handling in the workflow.