Writing back
Edit rows in a tab and write them to a database, Salesforce or HubSpot, after a review.
Write-back is in beta. It changes your own systems, so it is off until an admin allows it for a connection, and every change is reviewed before anything is written.
Write-back is on the Business plan and above. Business writes with Add and update and Add only; Update only and undoing a commit are on Scale and above.
Write-back takes rows you have edited in a tab and writes them to a PostgreSQL, MySQL or SQL Server table, or to Salesforce or HubSpot records.
1. Allow a connection to write
SyncStudio only reads unless an admin allows more. An admin opens Settings → Connections, opens a PostgreSQL, MySQL, SQL Server, Salesforce or HubSpot connection, and turns on Allow writing back.
- For a database, use a user made for writing, limited to the tables it should change, not the read-only user your imports use.
- For Salesforce and HubSpot, the person who signed in needs permission to edit those records; their own permissions still apply.
2. Set up a write-back
- Start one Open Write back in the sidebar and press New write-back.
- Choose where to Under Write to, the connection and its table or object; under From this tab, the tab holding the rows.
- Choose how rows are matched The Key column for a table, or the Record ID column for Salesforce and HubSpot.
- Choose what to write Add and update, Add only, or Update only.
3. Review the changes
Press Review changes. SyncStudio compares the tab with the destination and lists exactly what would change: each row to add, and each value that would change, with its old and new value. Nothing is written until you commit.
- Only rows I can see leaves out rows hidden by a filter or by hiding them, so you can write a selection.
- Not written rows cannot be written as they are, for example a value too long for its field or not one of a picklist's choices. The review says why for each.
- Left out (Salesforce and HubSpot) rows have a record ID the CRM does not hold, perhaps because the record was deleted. Clear the ID to add the row as a new record.
- Held back (Salesforce and HubSpot) rows were being added when an earlier write-back was interrupted, so the record may already exist. Check, then press Release to add it again.
4. Commit
Press Write back. For a database, all rows are written together or not at all. If anything changed since the review, the commit is refused and you review again.
For Salesforce and HubSpot, Write the IDs into the tab puts the ID of each new record beside its row, so the next write-back updates it instead of adding it again.
Undoing
Undo last commit puts back the values the last commit changed. Nothing is ever deleted: write-back adds and updates, and never removes a row or changes a key.