Power Automate Connector for Ticketing as a Service

The TeamsWork Ticketing connector brings your helpdesk into the processes your organization already runs, without writing code.

What is the Power Automate connector?

Power Automate is Microsoft’s tool for automating work across apps and services. You build a flow by linking a trigger, the event that starts the flow, to one or more actions, the steps that run after it.

A connector lets Power Automate work with a specific app. The TeamsWork Ticketing connector adds Ticketing as a Service alongside Microsoft 365 apps such as Outlook, Teams, Forms, Planner and SharePoint.

It works in both directions:

  • Triggers: when something happens in Ticketing, such as a new ticket, a status change or an SLA breach, your flow starts instantly.
  • Actions: your flow can create tickets, update fields, add comments, files and links, and read or search tickets in your instance.

What you can do with it

With Power Automate, your team can:

  • Capture requests wherever they start. Emails, forms, chat messages and business apps become tickets automatically, so nothing slips through.
  • Keep work moving after a ticket changes. Approvals, tasks, alerts and updates in other apps happen on their own, so agents stop copying information between tools.
  • Act before SLAs are missed. Escalate the moment a deadline passes, while there is still time to recover.
  • Connect your whole ecosystem. Link Ticketing to Microsoft 365, your business apps and other cloud services with the drag-and-drop simplicity of Power Automate.

This tutorial covers what you need to get started, every trigger and action the connector offers, and a first flow you can build in about 10 minutes.

Prerequisites and licensing

You need three things: an active TeamsWork Ticketing instance, a Power Automate licence that covers premium or custom connectors, and a Microsoft 365 work account.

RequirementDetails
TeamsWork TicketingAn active instance (US, EU or APAC region). You need access to Ticketing settings to copy the API key.
Ticketing API keyOne key per Ticketing instance. See the next section.
Microsoft 365 work accountUsed to sign in when you create the connection. Personal Microsoft accounts are not supported.
Power Automate licencePower Automate Premium. The free version included in Microsoft 365 does not cover premium connectors.

Which Power Automate licence? The TeamsWork Ticketing connector is a premium connector. The free Power Automate rights included in Microsoft 365 plans cover standard connectors only, so you need a Power Automate Premium licence to use it. For the full licensing rules, see Microsoft's Types of Power Automate licenses.

Get your Ticketing API key

The connector authenticates to your Ticketing instance with the same API key as the Ticketing API.

  1. Open the Ticketing app in Microsoft Teams and go to Settings.
  2. Find the API key section.
  3. Copy the key that matches what your flows will do:
    • Read-only key if your flows use triggers (webhooks) only.
    • Read-write key if your flows use actions that create or change tickets.
Ticketing app in Microsoft Teams, Settings, where the API key is found

Keep these points in mind:

  • A key is valid for one Ticketing instance only. Flows that work across several instances need one connection per instance.
  • The key grants access to all tickets in the instance. Store it only in the connection, never in a flow step, a Compose action or a SharePoint list.
  • Use the read-only key whenever a flow only listens to ticket events. It limits what a leaked key can do.

Create a connection

You create the connection the first time you add a TeamsWork Ticketing trigger or action to a flow.

  1. In Power Automate, create a flow and search for TeamsWork Ticketing when adding a trigger or action.
  2. Select Sign in and choose your Microsoft 365 work account.
  3. Fill in the connection fields:
    FieldWhat to enterExample
    Microsoft sign-inYour work account. Loads user pickers for requestor, assignee and "performed by".marc@teamswork.app
    API KeyRead-only key (triggers only) or read-write key (actions) from Ticketing settings.—
    Timezone offset (hours)Your UTC offset as a whole number. Ticket dates in triggers and actions are formatted in this offset.7 for Jakarta (UTC+7), -5 for New York (UTC-5)
    Animation: adding a trigger in a new Power Automate flow
  4. Select Create. Dropdowns such as status, assignee, tags and custom fields now load from your instance.
    Create a ticket action showing title, requestor, description, assignee, priority and expected date

Tips:

  • The timezone offset is a fixed number. It does not follow daylight saving time, so update it when your region changes clocks.
  • Name the connection after the instance (for example "Ticketing – IT Helpdesk") if you use more than one.
  • In production, create the connection with a service account so flows keep running when a person leaves.

Triggers

All 9 triggers are instant (webhook) triggers. When you save a flow, the connector registers a webhook on your Ticketing instance; when you delete or turn off the flow, Power Automate removes it.

TriggerFires whenEvent-specific outputs
When a ticket is createdA ticket is created from any origin: the Ticketing app, email or the API.—
When a ticket is updatedThe title, description, priority, expected date, tags or a custom field changes.Changes (list of changed fields)
When a ticket status changesA ticket moves between workflow statuses, including custom statuses.Previous status, new status, transition, resolution, status comment
When a ticket is assignedThe ticket's assignee is set or changed.Assignee name, email and ID
When a ticket is resolvedA ticket enters a resolved status configured to stop the SLA.Resolution, first and last resolved dates
When a ticket comment is addedA public comment or a private note is added.Comment text, private flag, source, created time
When a ticket attachment is addedA file or link is attached to a ticket.File name, caption, URL, is image, is link, added by
When the first response SLA is breachedThe first-response deadline passes without a response.Alert, first response SLA deadline
When the resolution SLA is breachedThe resolution deadline passes without resolution.Alert, resolution SLA deadline

Outputs every trigger returns:

  • Event: event name, event time, instance ID, tenant ID.
  • Ticket: ticket ID, ticket number, title, description, status, priority, category, department, origin, tags, custom fields, expected date, created on, last interaction, CC.
  • People: requestor name, email and ID; assignee name, email and ID; "changed by" user.
  • SLA: first response and resolution deadlines, escalated and breached flags.
  • Ticket URL: a direct link to open the ticket, useful in Teams and email messages.
List of the 9 TeamsWork Ticketing triggers in Power Automate

Which trigger should I use? "When a ticket is updated" fires when the title, description, priority, expected date, tags or a custom field changes. Status changes, assignments, comments, attachments and resolutions each have their own trigger. "When a ticket is resolved" fires only when a ticket enters a resolved status configured to stop the SLA.

Tip: filter runs with trigger conditions

A trigger condition is an expression added in the trigger's settings. When it isn't met, the flow isn't triggered and no run is logged, which keeps flow runs and Power Platform request consumption low (Microsoft Learn).

To add one, select the trigger, open Settings, and under Trigger Conditions select Add.

Example, run only for urgent tickets. Ticket fields sit under data > ticket in the trigger output:

@equals(triggerBody()?['data']?['ticket']?['priority'], 'Urgent')

Actions

The connector has 20 actions in four groups. Dropdowns for statuses, assignees, tags and custom fields load from your instance; wait a moment for them to appear.

Two inputs appear on most actions:

  • Ticket ID vs Ticket No. Ticket ID is the internal identifier returned by triggers and actions. Ticket No. is the number users see in the app (for example 123). Actions that change a ticket take the Ticket ID. Only "Get a ticket by number" takes the Ticket No.
  • Performed by (advanced). The user recorded in the ticket history as the author of the change. Leave it blank to record the change as "Power Automate".

Create and change tickets

ActionWhat it doesKey inputs
Create a ticketCreates one ticket.Title and Requestor (required); description, description format (Plain text or HTML), priority, assignee, expected date, tags, custom fields
Update a ticketUpdates several fields in one step.Ticket ID; any of title, description, priority, assignee, expected date, tags, custom fields
Set ticket statusMoves a ticket to another workflow status.Ticket ID, New status; comment, resolution (for resolved or closed statuses)
Set ticket assigneeSets or clears the assignee.Ticket ID, assignee (pick a user or enter an email)
Set ticket prioritySets or clears the priority.Ticket ID, priority
Set ticket expected dateSets or clears the expected date.Ticket ID, date (YYYY-MM-DD)
Set ticket tagsReplaces all tags on the ticket. An empty list clears them.Ticket ID, tags
Delete a ticketMarks a ticket as deleted.Ticket ID

Priority values are Low, Medium, Important, Urgent. Tags are entered as a category and tag pair, written "Category"/"Tag" with no spaces around the slash, or picked from the dropdown.

Automate Ticket Status Changes Based on Activity

Keep your support queue accurate without manual intervention. By using the When a ticket is updated trigger paired with Set ticket status, you can automatically update a ticket's status—such as moving it to In Progress or Resolved when specific criteria or replies are received.

  1. Trigger: When a ticket is updated (TeamsWork Ticketing) — monitors changes across your active tickets.
  2. Action: Set ticket status (TeamsWork Ticketing) — automatically updates the ticket status to reflect the latest progress.
Set ticket status action configured to move a ticket to Resolved with a comment
Ticket history in Teams showing the status changed by Power Automate
Ticket successfully updated from Power Automate

Comments, files and links

ActionWhat it doesKey inputs
Add a comment to a ticketAdds a public comment or private note.Ticket ID, Comment; private (agents only), comment format
Add a file to a ticketAttaches one or more files, with an optional comment.Ticket ID, files (file name with extension + file content from a previous action), private
Add links to a ticketAttaches one or more links, with an optional comment.Ticket ID, links (URL + display name), private

File content comes from a previous step, such as SharePoint Get file content or an Outlook attachment.

Attach reference links directly to a ticket

Outcome: Automatically enrich tickets with helpful URLs, training videos, documentation, or external resources so agents have quick access to essential links right inside the ticket.

  1. Trigger: When a ticket is assigned (TeamsWork Ticketing) — runs when a ticket is assigned to an agent or team.
  2. Action: Add links to a ticket (TeamsWork Ticketing):
    • Ticket ID: Select the dynamic content Ticket ID from the trigger.
    • Links: Provide the resource links to attach:
      • URL - 1: The web link (e.g., youtube.com or your video/guide link).
      • Display Name - 1: The label displayed on the ticket (e.g., Youtube Here or a tutorial title).
      • (Optional) Click + Add new item if you want to attach multiple links at once.
Add links to a ticket action with a URL and display name
Ticket in Microsoft Teams showing the link added by Power Automate

Read and search tickets

ActionWhat it doesKey inputs
Get a ticket by IDReads one ticket.Ticket ID
Get a ticket by numberReads one ticket by the number users see.Ticket No.
List ticketsSearches and filters tickets.Search text, status, resolved state, priority, tags, title; created, last-updated and expected date ranges; sort by and order; ticket count
List ticket activitiesReturns the ticket history (comments, status and field changes), newest first.Ticket ID; activity count
List ticket attachmentsLists active attachments and their URLs.Ticket ID
Get attachment contentDownloads one file attachment.Ticket ID, attachment ID

"List tickets" returns 10 tickets by default and up to 1,000 per call. For more, pass the Continuation token from the previous call. Dates accept YYYY-MM-DD or a full timestamp such as 2026-10-16T09:30:00+07:00.

Fetch complete ticket details upon creation

Outcome: Retrieve the full payload of a newly created ticket—including all custom fields, requester metadata, and descriptions—so downstream actions have rich context to work with.

  1. Trigger: When a ticket is created (TeamsWork Ticketing) — fires instantly whenever a new ticket enters your queue.
  2. Action: Get a ticket by ID (TeamsWork Ticketing):
    • Ticket ID: Select the dynamic content Ticket ID provided by the trigger.
Get a ticket by ID action run results showing status code 200
Get a ticket by ID output with ticket title, status, tags and requestor

Instance reference data

ActionWhat it does
List available tagsReturns tag categories and their tags.
List available assigneesReturns users tickets can be assigned to, with name, email and user ID.
Get instance configurationReturns the instance configuration, including custom field definitions.

Dynamically retrieve and validate tags when tickets receive new comments

Outcome: Fetch the active catalog of tags and categories from TeamsWork Ticketing to support automated classification, routing, or keyword tagging whenever users or agents post a comment.

  1. Trigger: When a ticket comment is added (TeamsWork Ticketing) — fires each time a new comment or update is posted to an existing ticket.
  2. Action: List available tags (TeamsWork Ticketing) — retrieves the full list of tags, categories, and badge colors configured in your TeamsWork workspace.
  3. Run Results: The action returns a 200 OK status with the complete tag catalog in the response body (e.g., tag names, categories, and hex colors), ready to be consumed by downstream condition or tagging steps.
List available tags action run results
List available tags output with tag categories and colors

Quick start: alert a Teams channel on urgent tickets

This 10-minute flow posts urgent new tickets to a Teams channel and records the alert on the ticket. It uses one trigger, one standard Microsoft 365 connector and one Ticketing action.

  1. In Power Automate, select Create > Automated cloud flow. Name it "Urgent tickets to Teams".
    Power Automate dialog to build an automated cloud flow named Urgent tickets to Teams
  2. Choose the trigger When a ticket is created (TeamsWork Ticketing). Create the connection if prompted.
    Flow with the When a ticket is created trigger
  3. Open the trigger's Settings, add a trigger condition, and paste: @equals(triggerBody()?['data']?['ticket']?['priority'], 'Urgent')
    Trigger conditions setting with the urgent priority expression
    Create a ticket action in the flow
  4. Add the Microsoft Teams action Post message in a chat or channel. Post as Flow bot to your support channel, with this message built from dynamic content: "Urgent ticket #Ticket No.: Title, from Requestor name. Open: Ticket URL"
    Post message in a chat or channel action with ticket number, title, requestor and ticket URL
  5. Add the TeamsWork Ticketing action Add a comment to a ticket. Set Ticket ID to the trigger's Ticket ID, Comment to "Posted to the support channel for urgent handling", and Private to Yes.
    Add a comment to a ticket action with a private note
  6. Save, then create an Urgent ticket in Ticketing. Within seconds, the channel shows the message and the ticket shows the private note.

To extend it, swap step 4 for a Teams adaptive card with an "Assign to me" button, then call Set ticket assignee with the responder's email. The blog post covers this and other inbound and outbound patterns.

Best practices, limits and troubleshooting

Limits. The Ticketing API allows 100 requests per 60 seconds and works on one ticket per request (no bulk updates), per the Ticketing API reference. The connector retries automatically on throttling (HTTP 429) and temporary server errors (502, 503, 504).

Best practices:

  • Filter with trigger conditions rather than Condition actions, so irrelevant tickets don't start runs.
  • Use the targeted actions (Set ticket status, Set ticket assignee) for single-field changes; use Update a ticket to change several fields in one call.
  • Avoid loops: a flow triggered by "When a ticket is updated" that also updates the same ticket can retrigger itself. Add a trigger condition that excludes changes made by your flow's "Performed by" user.
  • For large exports, use List tickets with date filters and the continuation token instead of one large call.
  • Ask your Power Platform admin to allow the connector in your environment's data loss prevention (DLP) policy, in the same group as the Microsoft 365 connectors it works with.

Troubleshooting:

SymptomLikely causeFix
Dropdowns stay emptyConnection invalid or key changedEdit the connection and re-enter the API key
401 or 403 errorsRead-only key used for actions, or key wrong or for another instanceUse the read-write key for flows with actions; copy a current key from Ticketing settings
Ticket not foundTicket No. passed where Ticket ID is expectedUse the trigger's Ticket ID output
Dates off by hoursWrong timezone offset, or daylight saving changedUpdate the offset on the connection
Flow doesn't start on status changeUsing "When a ticket is updated"Use "When a ticket status changes"
Tag not appliedTag text formatUse "Category"/"Tag" with no spaces, or pick from the dropdown
Error says the write may have completedResponse failed after the change was savedCheck the ticket before rerunning, to avoid duplicates

Next steps

Sources