All tools

Associate a user with a group

Ties an identified user to a group, such as a company or account, and records the group's traits like industry and employee count.

View on GitHub
Updated Sep 27, 2026Available asAPI

Description

Send `userId` or `anonymousId`, the `groupId`, and the group's `traits`. Destinations that model accounts, such as Intercom, use it to tie users to their company. `SEGMENT_API_KEY` holds the base64 of the source's write key followed by a colon.

associate-user-with-group.md

Associate a user with a group

Ties an identified user to a group, such as a company or account, and records the group's traits like industry and employee count.

Send userId or anonymousId, the groupId, and the group's traits. Destinations that model accounts, such as Intercom, use it to tie users to their company. SEGMENT_API_KEY holds the base64 of the source's write key followed by a colon.

Set up

Use the first option your agent supports.

API (official)

Before doing anything else, make one read-only call to confirm access.

Rules

  • Ask the user before anything that sends messages, costs money, or changes data.
  • Never print API keys.

Built from these files in the repository

The layout and the rules come from lib/catalog/render-markdown.ts, the set-up wording from lib/catalog/render-access.ts.

Ways in

RouteSourceCallRequiredDocs
APIOfficialPOST /v1/groupAPI key in $SEGMENT_API_KEYDocs

Workflows using Associate a user with a group

No workflows yet
No published workflow uses Associate a user with a group yet.