Skip to main content

CrmSyncStatus

Operator only. The Twenty sync's state in this environment.

type CrmSyncStatus {
mode: CrmSyncMode!
effectiveMode: CrmSyncMode!
configured: Boolean!
webhookEnabled: Boolean!
backfillDoneAt: DateTime
pending: Int!
failedLast7Days: Int!
sentLast24Hours: Int!
lastSentAt: DateTime
lastError: String
missingFields: [String!]!
}

Fields​

CrmSyncStatus.mode ● CrmSyncMode! non-null enum​

CrmSyncStatus.effectiveMode ● CrmSyncMode! non-null enum​

The mode the drain runs in: LIVE needs the CRM key here.

CrmSyncStatus.configured ● Boolean! non-null scalar​

Whether this environment has the CRM key.

CrmSyncStatus.webhookEnabled ● Boolean! non-null scalar​

Whether the signed webhook is accepted.

CrmSyncStatus.backfillDoneAt ● DateTime scalar​

When the first LIVE backfill was queued; the daily reconcile waits for it.

CrmSyncStatus.pending ● Int! non-null scalar​

Records waiting to be sent.

CrmSyncStatus.failedLast7Days ● Int! non-null scalar​

Records given up on in the last 7 days.

CrmSyncStatus.sentLast24Hours ● Int! non-null scalar​

CrmSyncStatus.lastSentAt ● DateTime scalar​

CrmSyncStatus.lastError ● String scalar​

CrmSyncStatus.missingFields ● [String!]! non-null scalar​

Fields or picklist values the CRM workspace lacks for LIVE (empty without a key); run scripts/twenty/ensure-schema.mjs.

Returned By​

crmSyncStatus query ● setCrmSync mutation