samples
turbot/flowpipe-samples/send-teams-message
OverviewPipelines
0
Triggers
0
Variables
GitHub

Send Teams Message

Send a new chat message in the specified channel.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run send_teams_message.pipeline.send_teams_message \
--arg 'teams_team_id=<string>' \
--arg 'teams_channel_id=<string>' \
--arg 'teams_message=<string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = send_teams_message.pipeline.send_teams_message
args = {
teams_team_id = <string>
teams_channel_id = <string>
teams_message = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
teams_credstringYesName for Microsoft Teams credentials to use. If not provided, the default credentials will be used.default
teams_team_idstringYesThe unique identifier of the team.-
teams_channel_idstringYesThe channel's unique identifier.-
teams_messagestringYesThe message to send.-
teams_message_content_typestringNoThe type of the content. Possible values are text and html.text

Outputs

NameDescription
messageChannel message details.