Common Room Operations Reference
Orkes Conductor integrates with Common Room to let you manage users, activities, tags, segments, and custom fields directly from your workflows. Once you configure the Common Room integration, you can use the following operations to check, retrieve, create, and update data in Common Room without leaving your workflow.
This page covers the parameters and expected output for each operation available in the Common Room integration.
Check API Token Status
Verify that your Common Room API token is valid and retrieve basic details about the associated community.
- Input Parameters
- Output Parameters
This operation has no input parameters.
| Parameter | Description |
|---|---|
| jti | The unique identifier for the API token. |
| communityName | The name of the Common Room community associated with the API token. |
| communityId | The unique identifier of the Common Room community. |
Add or Edit User
Add a new contact or update an existing contact in the Common Room.
- Input Parameters
- Output Parameters
| Parameter | Description | Type | Required/Optional |
|---|---|---|---|
| Destination Source Id | The Destination Source ID retrieved from Common Room. | string | . Required. |
| User | An object containing the contact details: id, email, fullName, firstName, lastName, username, avatarUrl, bio, linkedin, github, twitter, discord, roleAtCompany, titleAtCompany, companyName, companyDomain, country, city, region, rawLocation, tags, and customFields.The id field is mandatory.
| object | Required. |
Returns a status and message confirming whether the user information was accepted for processing.
Get Activity Types
Retrieve the list of activity types available in your Common Room community.
- Input Parameters
- Output Parameters
This operation has no input parameters.
Returns an activityTypes array. Each item contains the following fields:
| Parameter | Description |
|---|---|
| id | The unique identifier of the activity type. Use this value in the activityType field of the Add or Edit Activity operation. |
| name | The name of the activity type. |
| displayName | The human-readable label of the activity type. |
Add or Edit Activity
Add a new activity or update an existing activity in Common Room to track community interactions such as forum posts, GitHub contributions, and Slack messages.
- Input Parameters
- Output Parameters
| Parameter | Description | Type | Required/Optional | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Destination Source Id | The Destination Source ID retrieved from Common Room. | string | . Required. | ||||||||||||||||||||||
| Activity | An object containing the activity details. It can include the following parameters:
| object | Required. |
Returns a status and message confirming whether the activity information was accepted for processing.
Get Custom Fields
Retrieve the list of custom fields defined in your Common Room community.
- Input Parameters
- Output Parameters
| Parameter | Description | Type | Required/Optional |
|---|---|---|---|
| Destination Source Id | The Destination Source ID retrieved from Common Room. | string | Optional. |
Returns a customFields array. Each item contains the following fields:
| Parameter | Description |
|---|---|
| id | The unique identifier of the custom field. |
| name | The name of the custom field. |
| type | The data type of the custom field, such as date, string, int etc. |
| multivalue | Indicates whether the custom field accepts multiple values. |
| values | The predefined values for the custom field, if applicable. |
Get Segments
Retrieve the list of segments defined in your Common Room community.
- Input Parameters
- Output Parameters
This operation has no input parameters.
Returns a segments array. Each item contains the following fields:
| Parameter | Description |
|---|---|
| id | The unique identifier of the segment. |
| name | The name of the segment. |
Get Segment Statuses
Retrieve the list of statuses available for a specific segment in your Common Room community.
- Input Parameters
- Output Parameters
| Parameter | Description | Type | Required/Optional |
|---|---|---|---|
| Segment Id | The unique identifier of the segment. Use the id value returned by the Get Segments operation. | integer | Required. |
Returns a statuses array. Each item contains the following fields:
| Parameter | Description |
|---|---|
| id | The unique identifier of the segment. |
| name | The name of the status. |
List Tags
Retrieve the list of tags defined in your Common Room community.
- Input Parameters
- Output Parameters
This operation has no input parameters.
Returns a labels array. Each item contains the following fields:
| Parameter | Description |
|---|---|
| id | The unique identifier of the tag. |
| name | The name of the tag. |
| description | The description of the tag. |
| entityTypes | The entity types the tag applies to. |
| createdAt | The date and time the tag was created, in ISO 8601 format. |
| deletedAt | The date and time the tag was deleted, in ISO 8601 format. Returns null if the tag has not been deleted. |
Create Tag
Create a new tag in your Common Room community.
- Input Parameters
- Output Parameters
| Parameter | Description | Type | Required/Optional |
|---|---|---|---|
| Name | The name of the tag. | string | Required. |
| Entity Types | The entity types the tag applies to. Supported values:
| array | Required. |
| Description | The description of the tag. | string | Optional. |
| Parameter | Description |
|---|---|
| id | The unique identifier of the created tag. |
| name | The name of the tag. |
| description | The description of the tag. |
| entityTypes | The entity types the tag applies to. |
| createdAt | The date and time the tag was created, in ISO 8601 format. |
| deletedAt | The date and time the tag was deleted, in ISO 8601 format. Returns null if the tag has not been deleted. |
Update Tag
Update the name or description of an existing tag in your Common Room community.
- Input Parameters
- Output Parameters
| Parameter | Description | Type | Required/Optional |
|---|---|---|---|
| Tag Id | The unique identifier of the tag to update. Use the id value returned by the Create Tag or List Tags operation. | string | Required. |
| Name | The updated name of the tag. | string | Required. |
| Description | The updated description of the tag. | string | Optional. |
| Parameter | Description |
|---|---|
| id | The unique identifier of the tag. |
| name | The name of the tag. |
| description | The description of the tag. |
| entityTypes | The entity types the tag applies to. |
| createdAt | The date and time the tag was created, in ISO 8601 format. |
| deletedAt | The date and time the tag was deleted, in ISO 8601 format. Returns null if the tag has not been deleted. |
Delete Tag
Delete an existing tag from your Common Room community.
- Input Parameters
- Output Parameters
| Parameter | Description | Type | Required/Optional |
|---|---|---|---|
| Tag Id | The unique identifier of the tag to delete. Use the id value returned by the Create Tag or List Tags operation. | string | Required. |
Returns a status and message confirming whether the tag was deleted successfully.
Get Tag
Retrieve the details of a specific tag in your Common Room community.
- Input Parameters
- Output Parameters
| Parameter | Description | Type | Required/Optional |
|---|---|---|---|
| Tag Id | The unique identifier of the tag to retrieve. Use the id value returned by the Create Tag or List Tags operation. | string | Required. |
| Parameter | Description |
|---|---|
| id | The unique identifier of the tag. |
| name | The name of the tag. |
| description | The description of the tag. |
| entityTypes | The entity types the tag applies to. |
| createdAt | The date and time the tag was created, in ISO 8601 format. |
| deletedAt | The date and time the tag was deleted, in ISO 8601 format. Returns null if the tag has not been deleted. |