Cross-posting from MS Tech Community as suggested by MSFlow on Twitter
Hi,
I have a question, very likely a silly one as I have started dabbling with Flow. I am using this public flow template to copy my Outlook / Office 365 contacts to Google contacts, and it seems to work fine. However, I don't seem to be able to get a way to grab the email from the O365 contact? I have searched through the fields and don't seem to find an email field. I am almost certain I am doing something wrong here, as the ability to get the email is quite basic. However, I did not find a clear answer by binging with google and the other way round :). So my question is -
Solved! Go to Solution.
Hi @Anonymous,
Would the following thread be helpful here?
How to get array elements in a foreach
Please take a try to input the EmailAddress with the code below:
"@first(item()?['EmailAddresses'])?['Address']"
Connectors are mostly built on top of the REST APIs (not all the related APIs are available) provided by the corresponding service, we could check the REST API document for the service to understand what Dynamic content could be generated, for the service (outlook) used here, please check:Outlook Contacts REST API reference.
In addition, Microsoft Flow could work with Workflow Definition Language:
Some more reference:
Choose between Flow, Logic Apps, Functions, and WebJobs
If you have any further questions, please post back.
Regards
Hi @Anonymous,
Would the following thread be helpful here?
How to get array elements in a foreach
Please take a try to input the EmailAddress with the code below:
"@first(item()?['EmailAddresses'])?['Address']"
Connectors are mostly built on top of the REST APIs (not all the related APIs are available) provided by the corresponding service, we could check the REST API document for the service to understand what Dynamic content could be generated, for the service (outlook) used here, please check:Outlook Contacts REST API reference.
In addition, Microsoft Flow could work with Workflow Definition Language:
Some more reference:
Choose between Flow, Logic Apps, Functions, and WebJobs
If you have any further questions, please post back.
Regards
Thanks @v-micsh-msft, that looks like the solution, I would try them out. Precisely what I tried to understand. Thanks for the detailed answer! You're the man!