cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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

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
dougallen
Helper I
Helper I

@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

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
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (9,379)