How do I limit the number of characters processed in Power automat?

73 Views Asked by At

If an email meets the criteria defined in the flow "When a new email arrives", the record is entered from the email into the Google Sheet table. However, if the email contains more than 1000 characters, this process will not be completed and will end as an Error. I need to limit the processing of a maximum of the first 300 characters and ignore the rest. My flow is here: enter image description here

I tried to insert this operation but it didn't work: substring(outputs('Html_to_text'), 0, 300) enter image description here

0

There are 0 best solutions below