cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

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
Highlighted
Community Support
Community Support

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
Highlighted
Community Support
Community Support

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
Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

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

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Top Solution Authors
Top Kudoed Authors
Users online (5,034)