By connecting theaction builderto external systems, such as Microsoft Teams, admins can integrate Zendesk with external systems in automated workflows, improving collaboration and maintaining a seamless experience across multiple platforms.

What's my plan?
All Suites Growth, Professional, Enterprise, or Enterprise Plus
Support Team, Professional, or Enterprise

By connecting the action builder to external systems, such as Microsoft Teams, admins can integrate Zendesk with external systems in automated workflows, improving collaboration and maintaining a seamless experience across multiple platforms.

The following example action flow automatically sends notifications to agents in Microsoft Teams when a Zendesk ticket is assigned to them. This sort of notification can reduce response time and prevent tickets from slipping through the cracks.
  1. Add an action flow trigger with the following details:
    1. Click Add trigger.
    2. In the step sidebar, under Zendesk, click Tickets.
    3. Click Routing and select Ticket assignment changed.
  2. Add a step to look up ticket details:
    1. In the action builder, beneath the action flow trigger, click the Add step icon ().
    2. In the step sidebar, under Zendesk actions, click Look up ticket.
    3. Under Ticket ID, click into the field and then click Select a variable instead.
    4. Within the variable menu, select 1 Ticket agent assignment changed as the step that output the variable you want to use, and then select Ticket ID.
  3. Add a step to look up user details about the ticket assignee:
    1. In the action builder, click the Add step icon ().
    2. In the step sidebar, under Zendesk actions, click Look up user.
    3. Under User ID type, select Zendesk user ID.
    4. For User ID, click Add variable.
    5. Within the variable menu, select 2 Look up ticket as the step that outputs the variable you want to use, and then select Assignee ID.
  4. Add a step to look up user details about the ticket requester:
    1. In the action builder, click the Add step icon ().
    2. In the step sidebar, under Zendesk actions, click Look up user.
    3. Under User ID type, select Zendesk user ID.
    4. For User ID, click Add variable.
    5. Within the variable menu, select 2 Look up ticket as the step that outputs the variable you want to use, and then select Requester ID.
  5. Add a step to lookup details about the ticket requester's organization:
    1. In the action builder, click the Add step icon ().
    2. In the step sidebar, under Zendesk actions, click Look up organization.
    3. Under Organization ID type, select Zendesk organization ID.
    4. For Organization ID, click Add variable.
    5. Within the variable menu, select 4 Look up user as the step that outputs the variable you want to use, and then select Organization ID.
  6. Add a step that sends a direct message in Teams to the ticket assignee that contains the information you collected for the ticket, assignee, and organization:
    1. In the action builder, click the Add step icon ().
    2. In the step sidebar, under External actions, click Microsoft Teams and then select Post direct message.
    3. Under Email, click Add variable.
    4. Within the variable menu, select 3 Look up user as the step that outputs the variable, and then select Email.
    5. Under Message, enter the message you want to send to the newly assigned agent. Include relevant ticket, requester, and organization information as variables from the Look up ticket and Look up user steps, respectively, to streamline their ability to solve the ticket. In the following example, all variables are italicized:
      Hi Assignee > Name,
      
      Ticket Ticket ID has been assigned to you. Please respond as soon as possible.
      
      User contact information:
      - Email: Requester > Email
      - Locale and timezone: Requester > Locale - Requester > IANA timezone
      - Notes: Requester > Notes
      
      Here's more context on the ticket:
      - Ticket subject: Ticket Subject
      - Ticket description: Ticket Description
      - Last ticket update: Ticket's Latest agent update
  7. Click Save.
  8. Click Test to test the action flow.
  9. Click the options menu () and select Activate to begin using the action flow to automatically notify agents in Microsoft Teams that a Zendesk ticket has been assigned to them.

Using Microsoft Teams actions in action flows

Microsoft Teams action steps can be used to send updates and notifications from Zendesk to Microsoft Teams. This allows for automated actions, such as posting messages to channels or individuals and adding reactions to messages. Automating interactions in Microsoft Teams can streamline collaboration and keep teams aligned without needing to leave their primary workspace.

The following Teams actions are available:
  • Add reaction to channel message
  • Add reaction to direct message
  • Look up thread
  • Look up user
  • Post message to channel
  • Post direct message

Adding a reaction to a channel message

Use the Add reaction to channel message action to add an emoji reaction to a message in a channel.

This action has the following inputs and outputs:

  Variables
Inputs external_id, team_id, channel_id, message_id, reaction
Output none

Adding a reaction to a direct message

Use the Add reaction to direct message action to add an emoji reaction to a direct message.

This action has the following inputs and outputs:

  Variables
Inputs external_id, message_id, reaction
Output none

Looking up a thread

Use the Look up thread action to retrieve a thread of messages from a channel or direct message.

This action has the following inputs and outputs:

  Variables
Inputs external_id, team_id, channel_id, message_id
Output messages

Looking up a user

Use the Look up user to retrieve data about a user in Microsoft Teams for further use in the action flow.

This action has the following inputs and outputs:

  Variables
Inputs external_id, user_id
Output display_name, email, real_name, user_id

Posting a message to a channel

Use the Post message to channel action to send a message to a specific channel in Microsoft Teams.

This action has the following inputs and outputs:

  Variables
Inputs external_id, team_id, channel_id, message
Output id

Sending a direct message

Use the Post direct message action to send a message to a specified user in Microsoft Teams.

This action has the following inputs and outputs:

  Variables
Inputs external_id, message
Output id
Powered by Zendesk