GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation triggers a Mattermost slash command integration for a specific GitLab project. It is useful for automating interactions between GitLab projects and Mattermost by sending commands to the Mattermost slash commands service configured in the project. For example, it can be used to programmatically trigger notifications or actions in Mattermost based on GitLab project events.

Use Case Examples

  1. Trigger a Mattermost slash command for a GitLab project to notify a team channel about a deployment.
  2. Automate sending custom commands to Mattermost from GitLab CI/CD pipelines.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use if authentication is not skipped.
baseUrl The base URL of the GitLab instance to which the request is sent.
Method The HTTP method used for the request (GET, POST, PUT, DELETE, HEAD, PATCH).
Path Parameters Parameters included in the request path, specifically the project ID or URL-encoded path.

Output

JSON

  • response - The JSON response from triggering the Mattermost slash command integration.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the project ID provided in the path parameters is correct and accessible.
  • Verify that the Mattermost slash commands service is properly configured in the GitLab project.
  • Check that the authentication token has sufficient permissions to trigger the integration.
  • Common error messages may include authentication failures, invalid project ID, or misconfigured integration endpoints.

Links

Discussion