
Announcements
I have created a flow which is extracting some data from salesforce and adding a row in excel. It has hyperlink so my output in excel is generating like this:
<a href="/00561000001aaOU" target="_blank">Abhishek Mundra</a>
Output should be just - Abhishek Mundra
Is there a way I can remove hyperlink in the flow itself so that I get the desired output in the excel? If not, I can probably use string function but I don't know how to use it for that particular field. Look at my output below, I just want names that are in BOLD.
| <a href="/00561000001aaOU" target="_blank">Abhishek Mundra</a> |
| <a href="/00561000001aZis" target="_blank">Sanath Kumar</a> |
| <a href="/00561000001aaU8" target="_blank">Harsh Shukla</a> |
Please help!
Thanks,
Abhishek Mundra
Hey @Anonymous
I think you cannot pass hyperlink in excel from flow. If you just want the text from the recieved html type string, you can follow the steps as:
Expression used:
first(split(split(outputs('Compose'),'>')[1],'<'))
You can replace the first compose action output in the expression with the dynamic content of the Salesforce output or save that in a separate compose action and follow the steps above.
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!