Writeback to the Source

In a custom flow to sync sales orders from Warroad to Touchstone, we need to writeback to the sales orders synced from the Warroad account mentioning that the syncing was completed successfully.

For this, we need to include an extra Import as the last part of the flow

Before we include the writeback the flow is like

From this destination, we need to get the response by using Response Mapping

After providing this, include the new Import ( connection should be the same as that of the export)

Select operation as Update

How we can find existing records? This can be identified using ID

Then include the import mapping

Synced To Touchstone is a checkbox in the sales order record of the source account ( here Warroad ). If syncing has happened successfully, this checkbox will be checked according to this mapping.

Leave a comment

Your email address will not be published. Required fields are marked *