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,...
Answered

How to migrate records from Pipedrive to D365 Sales?

(1) ShareShare
ReportReport
Posted on by 339
There's a offshore team that has been using Pipedrive. We're trying to import their data (some at different stages in the BPF, some that are Lead, Opportunities, etc.)
Is it possible to also import their corresponding emails/activities as well from Pipedrive to the D365 Sales Timeline? 

Has anyone done this using just CSV? 
 
Thanks in advance!
I have the same question (0)
  • RH Profile Picture
    339 on at
    How to migrate records from Pipedrive to D365 Sales?
    Tom,
     
    I really appreciate your help and expertise.
     
    Yeah after today's meeting we decided for the Pipedrive user(s), that they might have to track the emails manually i.e. using the latest one (which has all the previous in the thread). This way they can begin using the new CRM.
     
    Also I totally understand the BPF which is unusual and I'll post another question to the forum for ideas since I activated Kanban View and we are using a multi-form BPF so BPF (only Status) is not triggered in that view. Haha gosh one user was so excited as she has been using that view in her own personal CRM. 

    I will try my best!
     
    Thanks again!
  • Verified answer
    Tom_Gioielli Profile Picture
    2,192 Super User 2025 Season 2 on at
    How to migrate records from Pipedrive to D365 Sales?
    There's quite a bit to work through here, so I'll try to answer what I can.

    However, the native import model does not support emails/activities so then we'd be stuck or does it?
    Activities typically work just like any other record when working in Dataverse, with the exception that they have their "Regarding" field which can act wonky as it is a polymorphic lookup (meaning it can point to any table where activities are enabled, instead of just a single other record type). It's been a while since I've done an excel import of activities, but as far as I know there are no issues. You can go to Advanced Settings > Data Management > Import Templates and find excel import files for all tables for import, including types of activities (you need to search for the specific type, like "Email" or "Phone Call").
     
    For the Regarding field, in the import file it will likely come through as a separate column for each record type. You will need to enter your mapping data into the correct column to link it to your sales record.
     

    Would we be able to import accordingly or need to manually then trigger the stages/steps? In reality it makes sense but technical wise I'm not sure if this is possible. I don't think we need Quotes and all that for now. 
    I have a love/hate relationship with Business Process Flows. The important thing to note is that the BPF itself is a separate record from the Opportunity, and it lives on an entirely separate table. The best way I have found to bulk update/handle the BPF is the following:
    • Import your sales records. As long as you have an active/standard BPF for the record in question the system should automatically create the BPF and put it into the first stage
    • From CRM, do a query against the BPF table and pull information from the related Opportunity so you have something to match against. This export will have the stage as a field value. Export all of your newly created Business Process Flows to excel
    • Using Vlookups or whatever excel magic is needed, update the [Stage] column to match what it should be for your given record. Reimport the table
    None of the fields "In" the Business Process Flow live on this separate table, just the stage and a few other key fields. This means you don't need to map or import any other data. Letting the system automatically create the BPF and then doing an update after the fact has been easier, in my experience, than trying to create them myself.
     

    Where can I grab the GUID and does that matter when attaching the emails?
    Every record created in CRM/Dataverse has a GUID automatically assigned to it. You can see the GUID up in the URL of each record, but if you want to grab them in bulk then you can do it by exporting records after creation. The excel files start with the first 3 columns hidden, and one of these contains the GUID of your record. You can also of course query or connect to Dataverse with SQL, Power Query, or anything else that lets you get to the table and you should be able to find the GUID column.
     
    The GUID cannot be added as a column to a system view in CRM, so you'll need to use one of these other options.
     

    All told, sounds like you have a pretty good start on everything. I honestly think the trickiest parts will be:
    • Finding and mapping the correct stage on the BPF table and records
    • Filling in Email data (like the email body) and importing
     
    Hope this helps a bit more. Migrations can be full projects for my clients in and of themselves, but you sound like you're going well!
     
  • RH Profile Picture
    339 on at
    How to migrate records from Pipedrive to D365 Sales?
    Hey Tom,
     
    Yeah let's say it's up to 5000 according to your example. However, the native import model does not support emails/activities so then we'd be stuck or does it? The stages would be the BPF stages. Some are leads, some are opportunities, and for example, some opportunities are in the different or last BPF stage. Would we be able to import accordingly or need to manually then trigger the stages/steps? In reality it makes sense but technical wise I'm not sure if this is possible. I don't think we need Quotes and all that for now. 

    Where can I grab the GUID and does that matter when attaching the emails?

    So far I have imported Leads, Opportunities, and mapped them for the US team (based on existing Excel spreadsheets) but I have not attached any Emails and/or Activities to them nor have I imported them at different stages/steps of the BPF. These would be from Pipedrive which I'm having a meeting tomorrow with them to export some data to see what it would look like.
     
    Thanks!
  • Suggested answer
    Tom_Gioielli Profile Picture
    2,192 Super User 2025 Season 2 on at
    How to migrate records from Pipedrive to D365 Sales?
    Using SSIS would be a much more formal process. If you are looking at hundreds of thousands of records, you will want to use a formal tool. If we are talking about a few hundred up to about 5,000 records, you should be fine getting away with CSV. XRM toolbox may have some data import tools to help, but the native process isn't too bad once you are used to it. You'll want to do the following:
     
    • Take your original data and break it down by stage. You'll want to import leads first, then opportunities, quotes, and then orders (assuming you are using each sales stage in CRM). 
      • You need to decide if you want to build out a full pipeline or not, meaning if you have a Quote, do you want to create a Lead, Opportunity, and the quote record? Or just create the quote and know it won't link back to any earlier record types?
    • Any information you need to reference on an import should be done first.
      • Do you have all of the customer accounts or contacts in the system? If not, those should go in first (or you should map them to existing records in CRM)
      • Any activities linked to sales records need to be imported after the sales records themselves are created
      • Make sure you have unique identifiers for any and all lookup fields. You can define your own custom value, or try to grab the GUID of the records after they are created in CRM
    The planning, mapping to unique IDs, and waiting on the imports are all the hardest parts of the process. The below link should help walk through the process as well. It says on-premise, but the process is the same as online.
     
  • RH Profile Picture
    339 on at
    How to migrate records from Pipedrive to D365 Sales?
    Would it be a two step process if using CSV? First import the leads/opportunities and then import their corresponding Activities/Email using templates?

    Also I'm not sure what SSIS integration is or how that fits into the migration but would XrmToolBox qualify for this matter?
     
    Thanks again!
  • Suggested answer
    Tom_Gioielli Profile Picture
    2,192 Super User 2025 Season 2 on at
    How to migrate records from Pipedrive to D365 Sales?
    CSV can work, but it's not very efficient for large numbers of records and it takes some manual mapping to work properly. Depending on volume, it could certainly be an option.
     
    More robust options would be:

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 167

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 116 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans