...
Field Name | Field Type | Field Dependency | Description | |
---|---|---|---|---|
Label* Default Value: Channel Operations | String | N/A | Specify a unique name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your pipeline. | |
Operation* Default Value: Add Members | String | N/A | Select the channel operation to perform. Available options include:
| |
Team ID* Default Value: N/A | String/Expression/Suggestion | Activates when you select the Add Members, Remove Members, List Members, List Channels, Rename Team, Delete Team, Archive Team, and Unarchive Team options in the Operation field. | Specify the ID of the team. Alternatively, click the icon to fetch a list of team IDs associated with the account. | |
Add Members | Use this fieldset to add members to the channel. | |||
Member ID Default Value: N/A | String/Expression/Suggestion | Activates when you select the Add Members option in the Operation field. | Specify the ID of the member to add. Alternatively, click the icon to fetch a list of member IDs in the organization. You can use each row to specify a member or include multiple members separated by commas, in the same row. | |
Add Team Owners | Use this fieldset to add owners for the team. | |||
Owner ID Default Value: N/A | String/Expression/Suggestion | Activates when you select the Add Members option in the Operation field. | Specify the ID of the member. Alternatively, click the icon to fetch a list of member IDs associated with the team. You can use each row to specify an owner or include multiple owners separated by commas, in the same row. | |
Remove Members | Use this fieldset to remove members from the channel. The Snap shows an error message if the member does not exist in the team. | |||
Member ID Default Value: N/A | String/Expression/Suggestion | Activates when you select the Remove Members option in the Operation field. | Specify the ID of the team member to remove. Alternatively, click the icon to fetch a list of member IDs associated with the team. You can use each row to specify a member or include all the members in the same row separated by a comma. | |
New Team Name Default Value: N/A | String/Expression | Activates when you select the Rename Team option in the Operation field. | Specify a new name for the selected team. | |
Number of Retries Default Value: 0 | Integer/Expression | Activates when you select the Add Members, Remove Members, Rename Team, Delete Team, Archive Team, or Unarchive Team option in the Operation field. | Specify the number of attempts the Snap makes to perform the selected operation in case of connection failure/unsuccessful attempts. To avoid 502 Bad Gateway error Use a higher value (such as 3, 4, or more) in this field to ensure the Snap/Pipeline runs successfully. | |
Retry Interval (seconds) Default Value: 1 | Integer/Expression | Activates when you select the Add Members, Remove Members, Rename Team, Delete Team, Archive Team, or Unarchive Team option in the Operation field (Retries are NOT available for listing operations - List Members, List Teams, and List Channels). | Specify the time interval in seconds between retry attempts. To avoid 502 Bad Gateway error Use a higher value (such as 3, 4, or more) in this field to ensure the Snap/Pipeline runs successfully. | |
Snap Execution Default Value: Execute only | Dropdown list | N/A | Select one of the three following modes in which the Snap executes:
|
Troubleshooting
Error | Reason | Resolution |
---|---|---|
API returned error in Archive Team operation | The Snap request failed with 500. This typically indicates a server-side issue or an unexpected problem with the service. | Make sure the Snap settings are configured properly or reauthorize the account with valid values. |
400 - Bad Request. Error in creating a channel. | The request to create the channel was invalid. | Team ID needs to be a valid GUID |
401 - Invalid Authentication Token | The provided authentication token is either expired, invalid, or does not have the necessary permissions to access this resource. | Ensure that you provide valid access token. |
...