web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / First Agent but encoun...
Copilot Studio
Suggested Answer

First Agent but encountering some challenges

(1) ShareShare
ReportReport
Posted on by 2
our team monitor ServiceNow ticket queue, but I only need to resolve the ticket that mentioned 'SOA' in the description. I wanted to build an agent to check the ServiceNow or check the email that sent to our team group from servicenow@mycompany.com.au and add this Agent in a flow so it can send an email to myself when a ticket/email created that has SOA mentioned in the Description. 
 
This seemed to be a simple Agent and flow, however I was not be able to add tool or ServiceNow MCP in the agent, or add a trigger to when an email sent from  servicenow@mycompany.com.au to our team ( consist of 4 individual emails)
 
It's discouraging to see nothing seemed to be working and I would really appreciate some help if you are interested in exploring /resolving this challenge with me:)
I have the same question (0)
  • Suggested answer
    sumit_artesian Profile Picture
    21 on at
     
    If your end goal is to simply forward emails that you receive from ServiceNow that have "SOA" in their description to yourself, you won't need an agent or even a Power Automate flow for that. Since your team is sufficiently small, you can have them create a really simple Outlook rule to forward such emails to yourself. It is very configurable and effective.
     
    A flow will not work in your use case as the Outlook trigger can only poll one mailbox at a time. If you had a shared mailbox, it would have worked, but since these are individual accounts, you can't poll all of their mailboxes with one flow. You would need 4 flows, at which point, it's easier to just set up Outlook rules.
     
    If you also want to process the tickets and not just notify yourself, then you will need an AI agent. The approach I would suggest is to have your team create the Outlook rules to forward you the ticket emails that have "SOA" in their description. You can then have a flow configured on your mailbox to poll for such forwarded emails and process them further using an agent.
     
    The flow will essentially have the "When a new email arrives (V3)" with appropriate filters, and then you can call the "Execute Agent" action from the Copilot Studio connector to send a custom prompt with the content of the email to your configured Agent, and it will process according to its instructions and configuration.
     
    Please let me know if any of this is unclear. I will explain it in more depth.
     
    Please  Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item.
    If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like! 🩷
  • Suggested answer
    ninihen Profile Picture
    71 on at
    I have no experience with ServiceNow, but after creating a blank agent and in "Add tool", do you see the connectors for ServiceNow? This is what I see:
     
     
    I assume the connectors to add would be List Records and Get Record. 

    To trigger email sent to 4 indivision emails, theoritically you would need 4 parent flows with trigger "when a new email arrives (V3)" under M365 Outlook, connected to each of the Outlook account. Though a more practical way is to set automatic forward rules in Outlook directly, so when an email from servicenow@mycompany.com.au arrives, forward that to either your account or an account that you have access to, and also use a rule to move it to a specifc Outlook folder.

    So that you will only need one flow to listen to one account and a specific folder.



    After that you can use a "Html to text" action to translate the body from the trigger to text, and pass that to the agent via action "Execute agent and wait", and then send a notification to you. Though with step (content from email), I don't think you really need an agent. You only need to check if the email text contain "SOA" and then send notification to you if the logic returns "true".

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 550

#2
Vish WR Profile Picture

Vish WR 191

#3
Haque Profile Picture

Haque 184

Last 30 days Overall leaderboard