cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
flowrookie
Level: Powered On

Challenge removing carraige return from output

I am trying to build a flow to get specific information from a calendar invite like phone number or name and use that information in twilio to send a text message.

 

Here is what the body of the invite looks like:

 

***

Customer Info

--------------------

Name: Jake Glen

Email: xxxxxx@gmail.com

Phone Number: xxxxxxxxxx

 

Booking Info

--------------------

Service name: Initial consult

Location: Our office address

 

Internal Notes

-----------------------

This is where you can add notes about this service that only you and your staff see.

***

 

Here is my flow:

 

01.png

 

Here is the expression for the To Phone Number:

 

first(skip(split(first(split(body('Html_to_text'),'Booking Info')),'Phone Number: '),1))

 

Here is the input. I have circled the carriage return in blue:

 

02.png

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Challenge removing carraige return from output

Hi @flowrookie,

 

Do you mean that the content of your formula output will be more one blank?

You could try adding a trim() function outside the expression to eliminate empty lines.

There is a similar Thread here, using a similar formula, and then there is a blank line, you can refer to this link:

https://powerusers.microsoft.com/t5/Building-Flows/Unable-to-find-files-in-folder-in-One-Drive-for-B...

Please take a try.

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: Challenge removing carraige return from output

Hi @flowrookie,

 

Do you mean that the content of your formula output will be more one blank?

You could try adding a trim() function outside the expression to eliminate empty lines.

There is a similar Thread here, using a similar formula, and then there is a blank line, you can refer to this link:

https://powerusers.microsoft.com/t5/Building-Flows/Unable-to-find-files-in-folder-in-One-Drive-for-B...

Please take a try.

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,893)