Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 7v0m4YOLCT4qbqLozka0DI
Copilot Studio - General
Unanswered

IT Ticketing system only using Copilot Studio with Power Automate + Excel

Like (0) ShareShare
ReportReport
Posted on 15 Dec 2023 09:41:33 by

Hey Guys, 

 

I'm trying to create a "Simple" ticketing system with Copilot studio. 

 

For context, I’ve taken inputs from Copilot Studio and inserted them into my excel table, these inputs have subsequently generated new fields in the form of a job number and status. Now I’m trying to get these newly generated fields back into Copilot Studio. I’ve tried a couple of solutions, but none have panned out. I think the issue might be getting the exact corresponding job number created returned, I think specifying that exact filed returned might be the issue, I don't have much experience with using Variables in Automate either. 

 

Would anyone be able to point me in the right direction? This doesn't have to be anything majorly complicated, it's just for a school project. Sorry If my terminology isn't right, this is my first post. 

 

banthony_0-1702632596978.png

banthony_1-1702633041025.png

 

many thanks, 

-banthony

 

Categories:
  • nesrivastava Profile Picture
    on 11 Jan 2024 at 02:58:10
    Re: IT Ticketing system only using Copilot Studio with Power Automate + Excel

    Thanks, @Audrie-MSFT, adding to Audrie's note, @banthony you can get the newly generated fields following these steps. Here is what the end result looks like:

    nesrivastava_0-1704940623148.png

    Add a "Get a row" action after you add the row into your table, like the screenshot below:

    nesrivastava_1-1704940840670.png

    Here is my screenshot from Power Automate

    nesrivastava_2-1704940955761.pngnesrivastava_3-1704940978530.png

    nesrivastava_4-1704941032165.png

    Here is the YAML for my topic. I added the Id in my Adaptive card, but you can remove the ID and use the same adaptive card 

    kind: AdaptiveDialog
    beginDialog:
     kind: OnRecognizedIntent
     id: main
     intent:
     triggerQueries:
     - excel
    
     actions:
     - kind: AdaptiveCardPrompt
     id: BQueje
     card: |-
     {
     "type": "AdaptiveCard",
     "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
     "version": "1.5",
     "body": [
     {
     "type": "TextBlock",
     "text": "Report an Issue",
     "weight": "bolder",
     "size": "medium"
     },
     {
     "type": "Input.Text",
     "id": "name",
     "placeholder": "Your Name"
     },
     {
     "type": "Input.Text",
     "id": "issue",
     "placeholder": "Describe the Issue"
     },
     {
     "type": "Input.Text",
     "id": "email",
     "placeholder": "Your Email"
     },
     {
     "type": "Input.Text",
     "id": "phone",
     "placeholder": "Your Phone Number"
     }
     ],
     "actions": [
     {
     "type": "Action.Submit",
     "title": "Submit",
     "data": {
     "id": "customId"
     }
     }
     ]
     }
     output:
     binding:
     actionSubmitId: Topic.actionSubmitId
     email: Topic.email
     id: Topic.id
     issue: Topic.issue
     name: Topic.name
     phone: Topic.phone
    
     outputType:
     properties:
     actionSubmitId: String
     email: String
     id: String
     issue: String
     name: String
     phone: String
    
     - kind: InvokeFlowAction
     id: invokeFlowAction_utd9Fd
     input:
     binding:
     text: =Topic.name
     text_1: =Topic.issue
     text_2: =Topic.email
     text_3: =Topic.phone
    
     output:
     binding:
     email: Topic.Email
     issue: Topic.Issue
     jobid: Topic.Jobid
     name: Topic.Name
    
     flowId: a4c17b4f-18b0-ee11-a569-00224827ed84
    
     - kind: SendActivity
     id: sendActivity_wqkff0
     activity: |-
     Your issue has been created and here is the IssueId for you reference:
     **Issue ID:** {Topic.Jobid}
     
     
     We will reach out soon at this{Topic.Email} to get more details.
     
     Thanks!

     

  • Audrie101 Profile Picture
    on 10 Jan 2024 at 19:55:37
    Re: IT Ticketing system only using Copilot Studio with Power Automate + Excel

    You can control what's available in Copilot Studio from the flow using the Response at the bottom of the flow.

    AudrieMSFT_0-1704916301791.png

    You can use your dynamic values in the flow to return the outputs to Copilot Studio, then you'll have them there to use however you see fit. 🙂

     

    Many more details on this are found here:
    https://learn.microsoft.com/microsoft-copilot-studio/advanced-flow-input-output

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,763 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,091 Most Valuable Professional

Leaderboard
Loading started