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.
-
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.
-
Add a Mapper Snap to map the PostgreSQL attribute headers to the corresponding Dynamics 365 for Sales attribute headers.
-
Add a Dynamics 365 for Sales Create Snap to insert the mapped data into the Dynamics 365 for Sales table.
-
Add a second Mapper Snap to map the attribute headers in the Dynamics 365 for Sales table to facilitate targeted deletion.
-
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:
- Download and import the pipeline into SnapLogic.
- Configure Snap accounts as applicable.
- Provide pipeline parameters as applicable.