Loading...
Loading...
Automate Segment tasks via Rube MCP (Composio): track events, identify users, manage groups, page views, aliases, batch operations. Always search tools first for current schemas.
npx skill4agent add composiohq/awesome-claude-skills segment-automationRUBE_MANAGE_CONNECTIONSsegmentRUBE_SEARCH_TOOLShttps://rube.app/mcpRUBE_SEARCH_TOOLSRUBE_MANAGE_CONNECTIONSsegmentSEGMENT_TRACKuserIdanonymousIdanonymousIduserIdeventpropertiestimestampcontextuserIdanonymousIdeventSEGMENT_IDENTIFYuserIdanonymousIdanonymousIdtraitstimestampcontextuserIdanonymousIdnullSEGMENT_BATCHbatchtypeuserIdanonymousIdtypeSEGMENT_GROUPuserIdanonymousIdanonymousIdgroupIdtraitstimestampgroupIdSEGMENT_PAGEuserIdanonymousIdanonymousIdnamecategorypropertiesuserIdanonymousIdnamecategoryurltitlereferrerpathsearchSEGMENT_ALIASSEGMENT_LIST_SCHEMA_SETTINGS_IN_SOURCESEGMENT_UPDATE_SOURCEuserIdpreviousIdsourceIdpreviousIduserId1. Anonymous user visits -> PAGE call with anonymousId
2. User interacts -> TRACK call with anonymousId
3. User signs up -> ALIAS (anonymousId -> userId), then IDENTIFY with traits
4. User takes action -> TRACK call with userId
5. User joins org -> GROUP call linking userId to groupId1. Collect events in memory (array of message objects)
2. Each message includes type, userId/anonymousId, and type-specific fields
3. Call SEGMENT_BATCH with the collected messages
4. Check response for any individual message errorsuserIdanonymousIddata| Task | Tool Slug | Key Params |
|---|---|---|
| Track event | SEGMENT_TRACK | userId, event, properties |
| Identify user | SEGMENT_IDENTIFY | userId, traits |
| Batch calls | SEGMENT_BATCH | batch (array of messages) |
| Group user | SEGMENT_GROUP | userId, groupId, traits |
| Page view | SEGMENT_PAGE | userId, name, properties |
| Alias identity | SEGMENT_ALIAS | userId, previousId |
| Source schema | SEGMENT_LIST_SCHEMA_SETTINGS_IN_SOURCE | sourceId |
| Update source | SEGMENT_UPDATE_SOURCE | sourceId |
| Warehouses | SEGMENT_LIST_CONNECTED_WAREHOUSES_FROM_SOURCE | sourceId |