Skip to main content

Data schema: Users

People who use your product.

Users are the people who use your product (not Hook users). Each user belongs to one account.

Field

Type

Required

Description

Example

Unique Identifier

Text

Yes

user_001

Source

Text

Yes

System the user ID comes from

product_db

Created Date

Timestamp

Yes

When the record was created

2023-02-01T00:00:00Z

Updated Date

Timestamp

Yes

When the record last changed

2025-01-20T00:00:00Z

Unique Identifier of Account

Text

Yes

0015c00003oGFiLAOW

CRM of Account

Text

Yes

Salesforce

Deactivated Date

Date or timestamp

Strongly recommended

Leave blank if still active

2024-06-30

Email

Text

No

First Name / Last Name

Text

No

Alice / Johnson

Role

Text

No

Admin

Job Title

Text

No

Department

Text

No

Usage for each user is sent separately. See Usage metrics.

User custom fields

Anything that isn't a standard user field can be sent as a custom field, for example licence type or champion status. Send the user's ID and source, then one column per custom field. The column name becomes the field name in Hook.

Field

Type

Required

Description

Example

Unique Identifier of User

Text

Yes

user_001

Source of User

Text

Yes

dim_user

Created Date

Timestamp

Yes

When the record was created

2023-02-01T00:00:00Z

Updated Date

Timestamp

Yes

When any value last changed

2025-01-20T00:00:00Z

Product Identifier

Text

No

Only if the value differs by product

product_1

license_type

Text

No

Example custom field

Admin

is_champion

True/False

No

Example custom field

TRUE

training_completed

Date

No

Example custom field

2024-03-12

  • Values can be text, numbers, true/false, dates or lists. Blank values are fine.

  • Use lowercase column names with underscores. You can give each field a friendlier display name in Hook later.

  • Keep sending a record when its value changes back to false or zero, so that Hook doesn't keep showing an old value.

Attachment icon
Attachment icon
Did this answer your question?