Mattermost
App Vendor: Mattermost
App Category: IT Services, Messaging
Connector Version: 1.0.0
API Version: V4
About App
Mattermost is an open source, enterprise team collaboration and messaging platform that can be used to communicate and collaborate any time, any where. It can be deployed on-premise or on cloud infrastructure that gives you the controls you need and when you need them.
The Mattermost app is configured with the Orchestrate application to perform the following actions:
Action Name | Description |
---|---|
Get a list of Users | This action retrieves a list of users using query params from the Mattermost rest API application. |
Get User Details | This action retrieves details about a particular user using user UID from the Mattermost rest API application. |
Get a list of Teams | This action retrieves a list of teams using query params from the Mattermost rest API application. |
Get Team Details | This action retrieves details about a particular team using team ID from the Mattermost rest API application. |
Get a list of Channels | This action retrieves a list of channels using query params from the Mattermost rest API application. |
Get Channel Details | This action retrieves details about a particular channel using channel ID from the Mattermost rest API application. |
Get a list of Groups | This action retrieves a list of groups using query params from the Mattermost rest API application. |
Get Group Details | This action retrieves details about a particular group using group ID from the Mattermost rest API application. |
Upload File in Channel | This action uploads a file in channel using channel ID, filename, filepath and client IDs in the Mattermost rest API application. |
Get File Public Link | This action retrieves the file public link for view|download using file ID from the Mattermost rest API application. |
Get a list of Channel Posts | This action retrieves a list of posts from channel using channel ID and query params from the Mattermost rest API application. |
Get File info from Post | This action retrieves information about a file from the particular post using post ID from the Mattermost rest API application. |
Get Threads from Post | This action retrieves a list of threads from particular post using post ID from the Mattermost rest API application. |
Get Post Details | This action retrieves a post using the post ID from the Mattermost rest API application. |
Create Post in Channel | This action creates a post in particular channel using channel ID, message and extra variables in the Mattermost rest API application. |
Configuration Parameters
The following configuration parameters are required for the Mattermost app to communicate with the Mattermost enterprise application. The parameters can be configured by creating instances in the app.
Parameter | Description | Field Type | Required/Optional | Comments |
---|---|---|---|---|
Cloud Domain | Enter the Mattermost server FQDN. Example: <http|https://<server_ip|domain.tld<:port> | Text | Required | |
Access Token | Enter the Mattermost user access token. | Password | Required | |
Verify | Check if the SSL verification is needed. | Boolean | Optional | Allowed values:
Default value: False |
Action: Get a list of Users
This action retrieves a list of users using the query parameters from the Mattermost rest API application.
Action Input Parameters
Parameter | Description | Field Type | Required/Optional | Comments |
---|---|---|---|---|
Query params | Enter the query parameters as Key Value pairs. | Key Value | Optional | Allowed values:
|
Action: Get User Details
This action retrieves details about a particular user using user UID from the Mattermost rest api application
Action Input Parameters
Parameter | Description | Field Type | Required/Optional | Comments |
---|---|---|---|---|
User ID | Enter the user ID. | Text | Required |
Action: Get a list of Teams
This action retrieves a list of teams using query params from the Mattermost rest API application.
Action Input Parameters
Parameter | Description | Field Type | Required/Optional | Comments |
---|---|---|---|---|
Query params | Enter the query parameters as Key Value pairs. | Key Value | Optional | Allowed values:
|
Action: Get Team Details
This action retrieves details about a particular team using team ID from the Mattermost rest API application.
Action Input Parameters
Parameter | Description | Field Type | Required/Optional | Comments |
---|---|---|---|---|
Team ID | Enter the team ID. | Text | Required |
Action: Get a list of Channels
This action retrieves a list of channels using query params from the Mattermost rest API application.
Action Input Parameters
Parameter | Description | Field Type | Required/Optional | Comments |
---|---|---|---|---|
Query params | Enter the query params as Key Value pairs. | Key Value | Optional | Allowed values:
|
Action: Get Channel Details
This action retrieves details about a particular channel using channel ID from the Mattermost rest API application.
Action Input Parameters
Parameter | Description | Field Type | Required/Optional | Comments |
---|---|---|---|---|
Channel ID | Enter the channel ID. | Text | Required |
Action: Get a list of Groups
This action retrieves a list of groups using query params from the Mattermost rest API application.
Action Input Parameters
Parameter | Description | Field Type | Required/Optional | Comments |
---|---|---|---|---|
Query params | Enter the query parameters as Key Value pairs. | Key Value | Optional | Allowed values
|
Action: Get Group Details
This action retrieves details about a particular group using group id from the Mattermost rest API application.
Action Input Parameters
Parameter | Description | Field Type | Required/Optional | Comments |
---|---|---|---|---|
Group ID | Enter the group ID. | Text | Required |
Action: Upload File in Channel
This action uploads a file in channel using channel id, filename, filepath and client IDs in the Mattermost rest API application.
Action Input Parameters
Parameter | Description | Field Type | Required/Optional | Comments |
---|---|---|---|---|
Channel ID | Enter the channel ID. | Text | Required | |
Filename | Enter the filename with or without extensions. | Text | Required | |
Filepath | Enter the local filepath. | Text | Required | |
Client ids | Enter the client IDs (comma-separated string) | Text | Optional |
Action: Get File Public Link
This action retrieves the file public link for view|download using file ID from the Mattermost rest API application.
Action Input Parameters
Parameter | Description | Field Type | Required/Optional | Comments |
---|---|---|---|---|
File ID | Enter the file ID. | Text | Required |
Action: Get a List of Channel Posts
This action retrieves a list of posts from channel using channel ID and query params from the Mattermost rest API application.
Action Input Parameters
Parameter | Description | Field Type | Required/Optional | Comments |
---|---|---|---|---|
Channel ID | Enter the channel ID. | Text | Required | |
Query params | Enter the query params as Key Value pairs. | Key Value | Optional | Allowed values:
|
Action: Get Channel Details
This action retrieves details about a particular channel using channel ID from the Mattermost rest API application.
Action Input Parameters
Parameter | Description | Field Type | Required/Optional | Comments |
---|---|---|---|---|
Channel ID | Enter the channel ID. | Text | Required |
Action: Get a list of Groups
This action retrieves a list of groups using query params from the Mattermost rest API application.
Action Input Parameters
Parameter | Description | Field Type | Required/Optional | Comments |
---|---|---|---|---|
Query params | Enter the query parameters as Key Value pairs. | Key Value | Optional | Allowed values
|
Action: Get Group Details
This action retrieves details about a particular group using group id from the Mattermost rest API application.
Action Input Parameters
Parameter | Description | Field Type | Required/Optional | Comments |
---|---|---|---|---|
Group ID | Enter the group ID. | Text | Required |
Action: Upload File in Channel
This action uploads a file in channel using channel id, filename, filepath and client IDs in the Mattermost rest API application.
Action Input Parameters
Parameter | Description | Field Type | Required/Optional | Comments |
---|---|---|---|---|
Channel ID | Enter the channel ID. | Text | Required | |
Filename | Enter the filename with or without extensions. | Text | Required | |
Filepath | Enter the local filepath. | Text | Required | |
Client ids | Enter the client IDs (comma-separated string) | Text | Optional |
Action: Get File Public Link
This action retrieves the file public link for view|download using file ID from the Mattermost rest API application.
Action Input Parameters
Parameter | Description | Field Type | Required/Optional | Comments |
---|---|---|---|---|
File ID | Enter the file ID. | Text | Required |
Action: Get a List of Channel Posts
This action retrieves a list of posts from channel using channel ID and query params from the Mattermost rest API application.
Action Input Parameters
Parameter | Description | Field Type | Required/Optional | Comments |
---|---|---|---|---|
Channel ID | Enter the channel ID. | Text | Required | |
Query params | Enter the query params as Key Value pairs. | Key Value | Optional | Allowed values:
|
Action: Get File info from Post
This action retrieves information about a file from the particular post using post ID from the Mattermost rest API application.
Action Input Parameters
Parameter | Description | Field Type | Required/Optional | Comments |
---|---|---|---|---|
Post ID | Enter the post ID. | Text | Required |
Action: Get Threads from Post
This action retrieves a list of threads from particular post using post id from the Mattermost rest API application.
Action Input Parameters
Parameter | Description | Field Type | Required/Optional | Comments |
---|---|---|---|---|
Post ID | Enter the post ID. | Text | Required |
Action: Get Post Details
This action retrieves a post using the post ID from the Mattermost rest API application.
Action Input Parameters
Parameter | Description | Field Type | Required/Optional | Comments |
---|---|---|---|---|
Post ID | Enter the post ID. | Text | Required |
Action: Create Post in Channel
This action creates a post in particular channel using channel ID, message and extra variables in the Mattermost rest API application.
Action Input Parameters
Parameter | Description | Field Type | Required/Optional | Comments |
---|---|---|---|---|
Channel ID | Enter the channel ID. | Text | Required | |
Message | Enter the message. | Text | Required | |
Extra variables | Enter the extra variables as key-value pairs. | Key Value | Optional | Allowed values:
|
Set online | Choose if you want to set user status as online or not. | Boolean | Optional | Allowed values:
Default value: False |