Hi @Pawandeep Singh ,
Welcome to Microsoft Q&A Platform. Thank you for the question.
Here you can follow the 2 alternative approach that could help you to achieve your scenario,
- You can link a Azure Function App with your Logic App. This way when an email is received (Logic App trigger ) you can call the function app and pass the email body to it, then you can write a code which can extract the required link and then pass it back to logic app. You can follow this tutorial to some extent, you might have to tweak some conditions and code.
- You can follow the solution mentioned in below. This method totally depends on the format of the email and given that there is a single link in the email body. Please refer below for implementation.
Please refer the related question for more information.
Created a sample LA workflow with your scenario and below are the sample design for the same.
substring
(
substring(outputs('html'), indexOf(outputs('html'), 'https://cloudshell1138451457')),
0,
indexOf(substring(outputs('html'), indexOf(outputs('html'), 'https://cloudshell1138451457')), '"')
)
Regards,
Kamlesh Kumar
BizTalk Techie
Please don't forget to click on
or upvote
button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is How
Want a reminder to come back and check responses? Here is how to subscribe to a Notification
If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators