I am running a flow when an email arrives, trying a different method
The email is as follows
Membership Number: 123456768
Application Reference: xxxxxxx-56a3-427f-b18d-21b261d5db77
Exists in CRM: True
Crm Id: xxxxxxx-2dae-e411-9401-005056a04b19
Employer Code: 123456
Name: a large company that is down the road from a smaller one
Address Line 1: the road
Address Line 2: the street
Address Line 3:
City: Romford
Country: United Kingdom
Post Code: AA01 xyz
The variable is just initialised as a string
yet looking at the input of the compose it has shorted the string
So I am guessing the string is limiting to a certain number of characters
How do I increase the size
Cheers
Hi @smallzoo ,
Please switch to classic designer.
Please add Email body into Html to Text.
Convert the body of an email from HTML format to text.
Of course, you can use expressions to get the Membership Number, and other fields in the email body.
I did a test for your reference.
In my scenario:
split(outputs('Html_to_text')?['body'],variables('ParseEmail'))[0]
Best Regards,
Sunshine Gu
Found the issue. I was (as per other suggestions on this site) using body preview for the compose but this cuts off the body text. However if I use Body instead then I cant use the split expressions as its all in html
It all works well if I use Body Preview except of course its cuts off the text !
e.g. Output from the email is
......<body lang="EN-GB" link="#0563C1" vlink="#954F72" style="word-wrap:break-word"><div class="WordSection1"><p class="MsoNormal" style="margin-bottom:12.0pt"><span style="">Membership Number: 123456768</span><br>Application Reference: xxxxxxx-56a3-427f-b18d-21b261d5db77<span style=""></span></p><h2>Employer</h2><p class="MsoNormal"><strong><span style="font-family:"Calibri",sans-serif">Exists in CRM: True</span></strong><br>Crm Id: xxxxxxx-2dae-e411-9401-005056a04b19<br>Employer Code: 123456<br>Name: a large company that is down the road from a smaller one</p><p class="MsoNormal">Address Line 1: the road<br>Address Line 2: the street<br>Address Line 3: <br>City: Romford<br>Country: United Kingdom<br>Post Code: AA01 xyz</p><h2></body>....
so the input to the compose is
....<body lang="EN-GB" link="#0563C1" vlink="#954F72" style="word-wrap:break-word"><div class="WordSection1"><p class="MsoNormal" style="margin-bottom:12.0pt"><span style="">Membership Number: 123456768</span><br>Application Reference: xxxxxxx-56a3-427f-b18d-21b261d5db77<span style=""></span></p><h2>Employer</h2><p class="MsoNormal"><strong><span style="font-family:"Calibri",sans-serif">Exists in CRM: True</span></strong><br>Crm Id: xxxxxxx-2dae-e411-9401-005056a04b19<br>Employer Code: 123456<br>Name: a large company that is down the road from a smaller one</p><p class="MsoNormal">Address Line 1: the road<br>Address Line 2: the street<br>Address Line 3: <br>City: Romford<br>Country: United Kingdom<br>Post Code: AA01 xyz</p><h2></body>....
when I look at the input / ouput of the add a row to excel its now weird
which means I can no longer user
Hi @smallzoo !
I just ran some tests and I can't reproduce the error :
Any chance for you to check if the variable is properly initialized ?
Let me know.
T
WarrenBelz
146,635
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional