Magidoc

WorkspaceSalesforceSync
Object

Fields

#

userOauth

Personal OAuth CRM sync (legacy top-level sync fields mirror this run).

clientCredentials

Workspace API CRM sync.

enabled

Non-null

userId

User whose Salesforce OAuth tokens the sync worker uses.

authType

Workspace Salesforce auth mode: userOauth or clientCredentials.

status

Connection status for workspace-level Salesforce auth.

clientId

Connected App consumer key when using API-only auth.

hasClientSecret

Non-null

Whether an encrypted client secret is stored (secret never exposed here).

loginDomain

Salesforce login domain for API-only auth.

instanceUrl

Salesforce instance URL detected from token response.

integrationUsername

Run As integration username from the last successful verification.

organizationId

organizationName

lastVerifiedAt

lastError

lastFullSyncAt

Timestamp of the most recent completed full inbound sync.

backfillWindowDays

Number of days requested for the most recent manual CRM backfill.

lastBackfillRequestedAt

Timestamp when the most recent CRM backfill was requested.

lastBackfillStartedAt

Timestamp when the most recent CRM backfill started.

lastBackfillCompletedAt

Timestamp when the most recent CRM backfill completed.

lastBackfillStatus

Status of the most recent manual CRM backfill request.

lastBackfillError

Last CRM backfill error message, when the worker failed.

Usages

#

References

#