CiviCRM sync
What flows between CiviCRM and Together, how often, and what to leave alone in CiviCRM so the two stay in step.
The CiviCRM integration is poll-based: every 15 minutes Together reads the contributions that changed in your CiviCRM since the last sync. Set it up first with Connect CiviCRM.
Never delete a contribution in CiviCRM. Cancel or refund it instead, and the change reaches Together on the next sync. A deleted contribution leaves nothing for Together to read, so it stays in Together and keeps counting toward the donor's caps and disclosure totals. See What to leave alone in CiviCRM.
What syncs
| Record | Direction | What comes across |
|---|---|---|
| Contributions | CiviCRM → Together | Amount (the total, before fees), date received, status and campaign. Test contributions and templates are left out, and so is a contribution in any currency other than AUD. |
| Contacts | CiviCRM → Together | The contact behind each contribution becomes a donor: name, primary email, phone and address. Only contacts who have given come across. See Donor matching. |
| Campaigns | CiviCRM → Together | Each contribution's campaign becomes its revenue code. With the Compliance module you assign that code a jurisdiction at Settings → Compliance → Code jurisdictions; see Set up revenue codes. Renaming a campaign in CiviCRM keeps its code. |
| Opt-outs | Both ways | A contact marked Is opt out or Do not email in CiviCRM is marked do-not-contact in Together. With write-back on, a do-not-contact change in Together goes back to CiviCRM; see Contact preferences. |
| Your donations | Together → CiviCRM | Only with write-back on: gifts Together takes or your team records by hand are added to CiviCRM as contributions. See Write-back. |
A contribution's status decides what Together does with it:
- Completed and Pending refund count as received.
- Refunded and Chargeback are refunded in Together, and stop counting toward caps and disclosure totals.
- Any other status (Pending, Cancelled, Failed and so on) is not imported. If Together already has the contribution, it is removed from Together's totals.
A contribution with no campaign lands with no revenue code. To give those a jurisdiction with the Compliance module, set a code for Untagged CiviCRM donations on Settings → Compliance → Code jurisdictions.
Sync cadence
- First sync after connecting: starts within 15 minutes and reads your full contribution history. On a large site it runs over several syncs, picking up where the last one stopped. Compliance alerts raised by your history are recorded but not emailed to your team until that first pass finishes.
- Later syncs: every 15 minutes, reading only what changed since the last one.
Your site's timezone
CiviCRM stores dates as they read on your site's clock, so Together needs to know which clock that is. Your CiviCRM site's timezone must be UTC or the same as your organisation's timezone in Together, and connecting checks this. An organisation's timezone in Together is Sydney time (AEST/AEDT); if your organisation needs a different one, contact us before you connect.
Once connected, don't change your site's timezone. If Together sees that it has changed, syncing stops, the CiviCRM card on Settings → Integrations says so, and reconnecting won't fix it: contact us.
Donor matching
When a contribution arrives, Together finds its donor by:
- The CiviCRM contact it has already connected to a donor.
- The contact's primary email address. Other email addresses on the contact are not used.
If neither matches, Together creates a donor. An Individual contact becomes an individual donor, and an Organization contact that has an organisation name becomes an organisation donor. A Household contact, or an Organization with no name, becomes a donor with no type set: set the type on the donor's page if it matters for compliance.
A sync never changes a donor's name, email address or type. It adds the contact's address only to a donor who has no address at all. Duplicates go to the queue at Donors → Duplicates; Together never merges two donors on its own.
If two contacts are merged in CiviCRM, the contributions move to the donor of the contact that was kept on the next sync.
Write-back
Write-back is off until an ADMIN turns it on. It is set on the Donation write-back panel under the CiviCRM card at Settings → Integrations:
- Off (the default). Nothing is written to CiviCRM.
- Shadow (dry-run). Together works out what it would send and records it, but writes nothing. Use it to check before going live.
- Live. Together writes to CiviCRM.
What Together writes
The gifts Together takes - from donation forms, checkout links and recommendation sets - and the gifts your team records by hand on the donations list are added to CiviCRM as Completed contributions, usually within a few minutes. Each one carries:
- the amount and the date, in your site's timezone;
- the financial type CiviCRM gave Together as its default when you connected;
- Together as the source, and a transaction ID starting
tg_, which is how Together recognises its own contributions so the next sync never imports them a second time; - the campaign, when the gift's revenue code came from a CiviCRM campaign.
The contribution goes to the contact Together already knows for that donor. If there isn't one, Together uses the one live Individual contact whose primary email is the donor's, without changing that contact. Otherwise it creates a contact with the donor's name, email, phone and address. If several contacts hold the donor's email, the gift is not sent; merge them in CiviCRM, then retry. Organisation donors are always created as a new contact, and one with no organisation name is not sent.
Editing a gift your team recorded by hand updates the CiviCRM contribution - the amount, the date and the campaign. Voiding it cancels the contribution with the reason "Voided in Together"; it is never deleted. Recording a refund of one of those gifts is not sent to CiviCRM: refund the contribution there yourself.
A contribution Together wrote is Together's to change. Make corrections to it in Together, not in CiviCRM.
Contact preferences
With write-back on, marking a donor do-not-contact in Together - or a donor opting out - sets Is opt out and Do not email on every CiviCRM contact connected to that donor. An opt-in clears both, but only when the donor is connected to exactly one contact. Together never creates a contact just to record a preference. In Shadow mode the change is recorded and not sent.
Going the other way, an opt-out set in CiviCRM marks the donor do-not-contact in Together. Clearing it in CiviCRM does not clear it in Together - the donor can opt back in from their receipt, or your team can clear the flag on the donor's page.
Permissions write-back needs
Reading needs only the permissions in Connect CiviCRM. Before you turn write-back on, have your CiviCRM administrator add these to the Together role:
add contactsedit all contactsedit contributions
Together does not check these when you switch write-back on. A missing permission makes each gift fail, with the reason on the panel.
When a gift does not reach CiviCRM
The Donation write-back panel lists every failed write-back from the last seven days under Failed write-backs - the donor, the amount, the date and the reason. When you have dealt with the cause, Retry N failed sends them again within a few minutes. On the donor's page, a gift that didn't reach CiviCRM is marked Not synced to CiviCRM, and opening it shows the reason.
What to leave alone in CiviCRM
Together matches CiviCRM's records to its own by CiviCRM's record numbers. Three things break that matching, and Together cannot detect any of them:
- Deleting a contribution. Cancel or refund it instead. A deleted contribution stays in Together and keeps counting toward caps and disclosure totals.
- Resetting or restoring your CiviCRM database - from a backup, or by starting it again. Contact us first.
- Pointing Together at a different CiviCRM site - a new site, or a copy of the old one moved to another address. Contact us first.
In the last two, the new records reuse numbers Together has already seen, so their contributions and contacts would be written over the old donations and donors.
What doesn't sync
- Regular-gift schedules. Each contribution is imported as it is recorded; Together creates no record for the recurring gift itself.
- Partial refunds, soft credits and line items. Together reads each contribution's total only.
- Tags, groups and activities. They stay in CiviCRM.
- Contacts who have never given.
Disconnecting
Disconnecting on Settings → Integrations keeps every donor and donation Together has already imported; only syncing stops.
What to do next
- Connect CiviCRM if you haven't yet: Connect CiviCRM.
- Set up revenue codes to classify the contributions Together imports: Set up revenue codes.