Hello everyone.
I need one help in extracting data from outlook. i manage to extract all data from outlook but i stuck at place. I am not able to understand how to extract data which have no specific end character. i need help in extracting last column data pls someone help me.
I am using function like:
1. When a new email arrives
2. HTML to text
3. add a row into a table
My data is like
Region : South
Branch Name: 445
RM Name: Rohit Nair
PS ID: 2003272
Please help in getting ps id number.
Thank you
I need expression which i can add in ps id column.
Hello, I am new in power automate. can you please help me with this. project stuck on that part only.
Hi @KamleshKadu ,
When you finished writing the formula, did you click the update button?
Please check the formula of your ‘PS ID’ column.
Best Regards,
Sunshine Gu
I am not able to add data in excel
Hi @KamleshKadu ,
Because there are many newlines, an error will occur when you use decodeUriComponent('%0A') to locate, so you'd better find a special and fixed index field.
You can also try this:
trim(split(split(outputs('Html_to_text')?['body'],'*')[0],'PS ID: ')[1])
Best Regards,
Sunshine Gu
Hi @KamleshKadu ,
Is your PS ID number a fixed length?
If so, please try this expression:
substring(split(outputs('Html_to_text')?['body'],'PS ID: ')[1],0,7)
Best Regards,
Sunshine Gu
You have add HI in text but that is body text and that wont fix i need ps id and its number after that number there will be blank or other text. and request you to pls suggest expression
Hi @KamleshKadu ,
Please try this expression:
trim(split(split(body('Html_to_text'),'HI')[0],'PS ID:')[1])
Best Regards,
Sunshine Gu
WarrenBelz
146,660
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,004
Most Valuable Professional