Create Profile

Create a new user profile in Mixpanel.

Input

Field Definition Type Required
Profile
Profile ID User profile's unique identifier; equivalent to the Mixpanel distinct_id field. String TRUE
IP Address User's IP address String FALSE
Time Date and time when the user profile was created, in Unix format.

For example, for Wednesday, January 20, 2021 9:35:08 AM GMT-08:00, the Unix value is 1611164108.

Date & Time FALSE
Properties
Avatar User's avatar; URL resource of a .gif, .jpg, .jpeg, or .png image file to update the profile picture in a profile. String FALSE
Name

Name of the user.

String FALSE
First Name User's first name String FALSE
Last Name User's last name String FALSE
Created

Date and time when the object was created.

Date & Time FALSE
Email User's email address String FALSE
Phone User's phone number String FALSE
Custom Properties A JSON object to add custom properties using the format {"property name": "property_value"}. Custom properties are limited to string-type fields. Object FALSE
Caution

Each Mixpanel profile is limited to 2,000 properties. See Profile Properties.

The following limits apply to field sizes for properties in a Mixpanel profile:

  • A maximum of 255 bytes for string-type properties

  • A maximum of 255 characters for each item in list-type properties

Note

This card supports dynamic fields. To add fields to this card, click the empty field at the bottom of the input field list under Click or drop here to create. To reorder fields, select Edit card from the Options menu and drag fields to their new location.

Caution

If you use this action card to create a profile that already exists, any new properties that are not already part of the profile will be added as custom properties. Existing properties will not be updated nor duplicated.

Output

Field Definition Type
Status Code

Result of the operation. The connector returns an HTTP status code that indicates whether the action taken by the card succeeded or failed. For example:

  • A 201 Created status code indicates success where a new resource was created.
  • A 403 Forbidden error indicates that the HTTP request wasn't processed because the necessary permissions were missing.

For a full list of possible status codes, see HTTP status codes.

Number

Related topics

Mixpanel connector

Workflow elements

Mixpanel API Reference