cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

HTML Body to String for use in search for users

Hi All,

 

So I'm triggering  flow using a HTTP push request made by a chatbot. the chatbot uses flow to send an email to the users manager letting them know they are off sick. Flow seemed to be a simpler solution than having to code chatbot dialogue. 

 

The issue i have is that when I hit the flow from the BOT I pass in the user principle name but I get all of the UTF8 characters, which dont work with seach for users. Is there a kooky bit of workflow definition that I could use to remove the UTF8 , only leaving the user ID to pass to search for users

 

the flow is this with the issue shown below  - many thanks for any advice you could offer

FLOW - ENDPOINT PRE RUN.PNGFLOW FAILED.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Re: HTML Body to String for use in search for users

Hi All

 

I've solved this one myself. I used variables and then parsed these  into an array, after that just added further variables and the array  position to extract the required info from the request body 

View solution in original post

2 REPLIES 2
Highlighted
Helper I
Helper I

Re: HTML Body to String for use in search for users

@Anonymous,

 

Are you saying that the text ITCSCJ is the actual username?  I would think you could use a combination or one of the string functions to get the data you want (REPLACE, SUBSTRING, etc).  Can you paste the whole output?  

Anonymous
Not applicable

Re: HTML Body to String for use in search for users

Hi All

 

I've solved this one myself. I used variables and then parsed these  into an array, after that just added further variables and the array  position to extract the required info from the request body 

View solution in original post

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (6,545)