Microsoft Teams

Send messages, create channels, and collaborate in Microsoft Teams. In Appbricx, your workflows and server functions call it by name once it is connected.

What you can do

14 actions, each one call from a workflow or a server function. Triggers come from your app: a row changing, a schedule or a webhook.

  • Create Channelmicrosoft_teams_create_channel
    Create a new channel in Microsoft Teams.
  • Create Chat & Send Messagemicrosoft_teams_create_chat_and_send_message
    Start a new chat and send an initial message.
  • Create Private Channelmicrosoft_teams_create_private_channel
    Create a new private channel in a team.
  • Delete Chat Messagemicrosoft_teams_delete_chat_message
    Soft-Deletes a message in chat.You can only delete messages you sent.
  • Find Channelmicrosoft_teams_find_channel
    Finds channels by name.
  • Find Team Membermicrosoft_teams_find_team_member
    Finds a team member by email or display name.
  • Get Channel Messagemicrosoft_teams_get_channel_message
    Fetch a specific channel message by team, channel, and message ID (optionally a reply).
  • Get Chat Messagemicrosoft_teams_get_chat_message
    Fetch a specific chat message by chat and message ID.
  • Reply to Channel Messagemicrosoft_teams_reply_to_channel_message
    Post a reply to an existing channel message.
  • Send Channel Messagemicrosoft_teams_send_channel_message
    Sends a message to a teams's channel.
  • Send Chat Messagemicrosoft_teams_send_chat_message
    Sends a message in an existing chat.
  • Request Approval from a Userrequest_approval_direct_message
    Send approval message to a user and then wait until the message is approved or disapproved

All 14 actions with their inputs

Set it up

About two minutes, once per project or once for the whole workspace.

  1. Open Integrations in the builder

    Backend panel, Integrations tab, then Microsoft Teams. To connect it for every project, use Workspace settings, Integrations.

  2. Sign in to Microsoft Teams

    You sign in to Microsoft Teams and approve access. Appbricx keeps the tokens, encrypted, and refreshes them.

    • Chat.ReadWrite
    • ChannelMessage.Send
    • User.Read

    This uses an OAuth app: the platform's, or your own from the admin panel, and you can bring your own credentials.

  3. Call an action

    From a workflow, by integration id and action name. The call answers with success, output and, when it fails, the reason.

    Workflow
    // .workflow.js (native ctx)
    export async function run(ctx) {
      const res = await ctx.integrations.invoke("microsoft_teams", "microsoft_teams_create_channel", {
        "teamId": "<teamId>",
        "channelDisplayName": "<channel name>"
      });
      if (!res.success) throw new Error(res.error);
      ctx.log.info("Microsoft Teams answered", { output: res.output });
    }

Microsoft Teams and its logo are trademarks of their owner, shown only to identify the service this integration connects to. Their use does not imply endorsement by, or affiliation with, that company.

Connect Microsoft Teams once. Every workflow can use it.