web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Creating Contact from an excel table using PowerAutomate

(0) ShareShare
ReportReport
Posted on by 25

Good morning.

I am trying to create a flow that will run when an excel spreadsheet is updated with a new row of data.

The excel sheet is populated with contact info and a specific interest, based off clients filling a form out on my website.  I want to either create a task in dynamics if they already exist as a client.  But if they do not exist, create a contact and then create a task.

I do not want to have multiple contacts of the same person.  My current attempt of doing this creates all the contacts on the spreadsheet each time, not just the new one.

Here is the process I am trying to achieve.

pastedimage1619449270429v1.png

Can anyone help me with the Dataverse actions I need to use to make this happen?

I have the same question (0)
  • Suggested answer
    Nya Profile Picture
    29,060 on at
    RE: Creating Contact from an excel table using PowerAutomate

    Hi,

    My general idea is to use the email in excel to judge if the contact already exists, if it does, update it, if it doesn't, create it.

    Use the "Apply to each" to list the contacts whose emails are existing in the excel.

     pastedimage1619599948255v1.png

    In the filter, use the expression something like "emailaddress1 eq EMAIL", the EMAIL here is the list name in the excel.

    Then set a condition which is used to judge if the list of contacts whose emails are the existing in the excel is empty.

    If yes, create records. The fields here is gotten from "Apply to each".

    pastedimage1619600192430v3.png

    If no, update records according to the contact id.

     pastedimage1619600099038v2.png

    Please try to adapt your flow along the idea to create or update your contacts.

     

    If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.

    Best Regards,

    Nya

  • Pat Michaels Profile Picture
    25 on at
    RE: Creating Contact from an excel table using PowerAutomate

    Hi Nya,

    Thank you for responding.

    I have set up my flow like this so far:

    pastedimage1619626250626v1.png

    pastedimage1619626293273v2.png

    pastedimage1619626326966v3.png

    But when I add a condition, all I get is error messages. (I know it is user error) I just don't know how to build the condition to read from the checking emails against my contacts.  Also, how do I set up the flow to only read the newest additions to my excel spreadsheet?

    pastedimage1619626520922v4.png

  • Suggested answer
    Nya Profile Picture
    29,060 on at
    RE: Creating Contact from an excel table using PowerAutomate

    Hi,

    Please refer to the following article, which gives a complete solution process.

    Update Dynamics 365 Data Using Flow (c-sharpcorner.com)

     

    If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.

    Best Regards,

    Nya

  • Pat Michaels Profile Picture
    25 on at
    RE: Creating Contact from an excel table using PowerAutomate

    Hi Nya,

    Unfortunately, this does not really answer the issue.

    The section on adding the condition no longer exists how it is portrayed in the article.

    pastedimage1620752151469v1.png

    How do you add the condition in Microsoft Flow now, not in 2018.

    I appreciate your assistance.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 258

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 186

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 130 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans