Transferring and deleting data from PostgreSQL to Dynamics 365 for Sales

This example demonstrates how to retrieve data from a PostgreSQL database, insert it into Microsoft Dynamics 365 for Sales, and then delete the transferred records.

Download this pipeline.
  1. Use a PostgreSQL Select Snap to retrieve customer data from the PostgreSQL database, then add a Head Snap to select only the first five records.

    Advanced pipeline transferring and deleting data

  2. Add a Mapper Snap to map the PostgreSQL attribute headers to the corresponding Dynamics 365 for Sales attribute headers.
  3. Add a Dynamics 365 for Sales Create Snap to insert the mapped data into the Dynamics 365 for Sales table.
  4. Add a second Mapper Snap to map the attribute headers in the Dynamics 365 for Sales table to facilitate targeted deletion.
  5. Add a Dynamics 365 for Sales Delete Snap and run the pipeline to delete the recently added records.

To reuse this pipeline in your environment:

  1. Download and import the pipeline into SnapLogic.
  2. Configure Snap accounts as applicable.
  3. Provide pipeline parameters as applicable.