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 / Power Automate / Trigger Flow from keyw...
Power Automate
Answered

Trigger Flow from keyword with special characters.

(0) ShareShare
ReportReport
Posted on by 9

I'm trying to trigger a flow from MS when a keyword is mentioned but I want to use a special character in the keyword.

 

for example

 

.triggerword in the chat would start the flow but triggerword would not.

 

Is this possible?

This is the error I've received trying different special characters.

 

 

{
 "statusCode": 502,
 "headers": {
 "Access-Control-Allow-Methods": "GET, PUT, PATCH, DELETE, POST",
 "Access-Control-Allow-Origin": "*",
 "Access-Control-Max-Age": "3600",
 "Access-Control-Expose-Headers": "*",
 "Date": "Thu, 03 Mar 2022 19:17:54 GMT",
 "Content-Length": "940",
 "Content-Type": "application/json"
 },
 "body": {
 "error": {
 "code": 502,
 "message": "Unable to parse response JObject:{\r\n \"responses\": [\r\n {\r\n \"id\": \"0\",\r\n \"status\": 400,\r\n \"headers\": {\r\n \"Content-Type\": \"application/json\"\r\n },\r\n \"body\": {\r\n \"error\": {\r\n \"code\": \"BadRequest\",\r\n \"message\": \"Syntax error: character '?' is not valid at position 0 in '?mercury'.\",\r\n \"innerError\": {\r\n \"date\": \"2022-03-03T19:17:54\",\r\n \"request-id\": \"6d186447-3c86-4e24-be1e-29a7555bc6ee\",\r\n \"client-request-id\": \"6d186447-3c86-4e24-be1e-29a7555bc6ee\"\r\n }\r\n }\r\n }\r\n }\r\n ]\r\n}",
 "source": "power-apis-usgov001-public.azure-apihub.us",
 "path": "choose[1]\\when[1]\\choose[2]\\when[1]",
 "policyId": "",
 "clientRequestId": "5b193904-ac50-40c6-9a74-462092d09297"
 }
 }
}

 

Categories:
  • ChristianAbata Profile Picture
    8,953 Most Valuable Professional on at

    hi @jacobyoby  if the URI you are using is like https://graph.microsoft.com/v1.0/sites?$search

    I recommend you to use only the base https://graph.microsoft.com/v1.0/sites then on the HTTP action fill the query fieldslike this

    queris.png

  • Verified answer
    jacobyoby Profile Picture
    9 on at

    Thanks! I ended using the the BodyAsText and the the contains condition to check again for my string.

    jacobyoby_0-1646349742057.png

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 414

#2
11manish Profile Picture

11manish 335 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard