Create a record in Microsoft Dynamics for Sales and perform a bulk delete

This example demonstrates how to create a new set of account entities in a Microsoft Dynamics 365 Sales table, view the output preview, and then delete the records using the Delete Snap.

Download this pipeline.
  1. Configure a JSON Generator Snap to create and store the records to upload. You can also use a Mapper Snap to provide the input data.

    JSON Generator Snap pipeline setup

  2. Connect a Dynamics 365 for Sales Create Snap to the JSON Generator Snap and configure it to add new records to the table.

    Dynamics 365 for Sales Create configuration

  3. Add a Mapper Snap to map the $accountid attribute of the created records to $guid to simplify identification for deletion.

    Mapper Snap configuration for renaming attributes

  4. Add a Dynamics 365 for Sales Delete Snap configured to delete all records that contain the $guid attribute.

    Batch delete pipeline complete

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.