cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
peteM
Level: Power Up

Change body of Trello card that has been emailed.

Hi,

 

Any help much appreciated - 

 

I use the email to board function of trello, and would like to use Flow to remove the email tail that my company adds - a "the contents of this email.........." disclaimer thing. Currently, the Card arrives on the board with this t the end of the body.

 

Would this be possible in Flow?

 

Many thanks,

 

Pete

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Change body of Trello card that has been emailed.

Hi @peteM,

 

Could you please share a screenshot of your flow's configuration?

Could you please share a bit more about the disclaimer thing within body of the email?

Further, do you want to remove the disclaimer thing and create a card based on body of email in Board of your Trello?

 

I assume that the disclaimer thing is existed in the end of Body of your email and the format of your email body as below:23.JPG

I have made a test on my side and please take a try with the following workaround:

  • Add a "When a new email arrives" trigger.
  • Add a "Html to text" action, Content set to Body dynamic content of the trigger.
  • Add a "Compose" action, Inputs set to following formula:

 

indexOf(body('Html_to_text'),'The contents of this email')

 

  • Add a "Compose 2" action, Inputs set to following formula:
  • sub(length(body('Html_to_text')),outputs('Compose'))
    Add a "Compose 3" action, Inputs set to following formula:
  • substring(body('Html_to_text'),outputs('Compose'),outputs('Compose_2'))
    Add a "Compose 4" action, Inputs set to following formula:
  • replace(body('Html_to_text'),outputs('Compose_3'),'')
    Add a "Create a card" action, Card Description field set to output of "Compose 4" action.

Image reference:24.JPG

 

25.JPG

The flow works successfully as below:27.JPG

 

28.JPG

 

26.JPG

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
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: Change body of Trello card that has been emailed.

Hi @peteM,

 

Could you please share a screenshot of your flow's configuration?

Could you please share a bit more about the disclaimer thing within body of the email?

Further, do you want to remove the disclaimer thing and create a card based on body of email in Board of your Trello?

 

I assume that the disclaimer thing is existed in the end of Body of your email and the format of your email body as below:23.JPG

I have made a test on my side and please take a try with the following workaround:

  • Add a "When a new email arrives" trigger.
  • Add a "Html to text" action, Content set to Body dynamic content of the trigger.
  • Add a "Compose" action, Inputs set to following formula:

 

indexOf(body('Html_to_text'),'The contents of this email')

 

  • Add a "Compose 2" action, Inputs set to following formula:
  • sub(length(body('Html_to_text')),outputs('Compose'))
    Add a "Compose 3" action, Inputs set to following formula:
  • substring(body('Html_to_text'),outputs('Compose'),outputs('Compose_2'))
    Add a "Compose 4" action, Inputs set to following formula:
  • replace(body('Html_to_text'),outputs('Compose_3'),'')
    Add a "Create a card" action, Card Description field set to output of "Compose 4" action.

Image reference:24.JPG

 

25.JPG

The flow works successfully as below:27.JPG

 

28.JPG

 

26.JPG

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
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 (5,791)