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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Trigger Flow from keyw...
Power Automate
Unanswered

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:
I have the same question (0)
  • ChristianAbata Profile Picture
    8,951 Most Valuable Professional on at
    Re: Trigger Flow from keyword with special characters.

    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
    Re: Trigger Flow from keyword with special characters.

    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard