Skip to Content
DestinationsCRMSAP Sales Cloud V2

SAP Sales Cloud V2

Sync data from your warehouse to SAP Sales Cloud Version 2, SAP’s new-generation CRM. Create and update accounts, individual customers, contact persons and leads so your sales teams work from the same customer data as the rest of your stack, and create tasks for your sales reps from a journey (see Trigger tasks from a journey).

This destination is for SAP Sales Cloud Version 2 tenants (hosts ending in crm.cloud.sap). It does not write to SAP Sales Cloud / Cloud for Customer Version 1.

Prerequisites

  • An SAP Sales Cloud Version 2 tenant and its URL, for example https://my1234567.crm.cloud.sap
  • A technical user for API access (a communication system user), or an OAuth 2.0 client registered for the tenant
  • A field that identifies each record in both systems, if you want to update existing records (see Matching records)

Permissions

The technical user (or the user behind the OAuth client) needs read and write access to the object you sync:

ObjectNeeds access to
AccountsAccount Service
Individual CustomersIndividual Customer Service
Contact PersonsContact Person Service
LeadsLead Service
TasksTask Service, plus the service of the record tasks are linked to

Read access is needed even for inserts: Zeotap reads one record during the connection test and looks records up before every update.

Authentication

Basic Authentication

  1. In SAP Sales Cloud V2, create a communication system with a technical user, and assign it a role that grants access to the services listed above
  2. In Zeotap, choose Basic Authentication
  3. Enter the technical user’s Username and Password

OAuth 2.0 Client Credentials

  1. Register an OAuth 2.0 client for your tenant (for example in SAP Cloud Identity Services) and grant it access to the services listed above
  2. In Zeotap, choose OAuth 2.0 Client Credentials
  3. Enter the Client ID, Client Secret and the Token URL of the token endpoint, for example https://mytenant.accounts.ondemand.com/oauth2/token

Zeotap requests a token with the client credentials grant and renews it automatically.

Configuration

FieldTypeRequiredDescription
Tenant URLTextYesThe origin of your tenant, without a path (e.g., https://my1234567.crm.cloud.sap). Must use https://.

Target Settings

FieldTypeRequiredDescription
ObjectSelectYesAccounts, Individual Customers, Contact Persons (default), Leads or Tasks
Match FieldTextNoThe property used to find an existing record for upsert and update. Leave empty to use the object’s default (see below). Not used for tasks, which have their own Link match field.
Link task toSelectNoTasks only. Individual Customers (default), Accounts or Contact Persons: the record each task is about.
Link match fieldTextNoTasks only. The property of the linked record the Link Value is matched against, for example defaultCommunication/eMail or an extension field such as extensions/ZExternalId. Leave empty for the linked object’s default email field.
Task subjectTextYes (tasks)Tasks only. The subject of every task, e.g. “Call this customer”.
Task owner IDTextNoTasks only. Technical ID (UUID) of the employee who owns the task, such as the sales rep who should act on it.
Task priorityTextNoTasks only. The priority code to set, as configured in your tenant.
Due in (days)NumberNoTasks only. Sets the due date this many days after the task is created (0 = today).

Supported Operations

Sync Modes

ModeSupported
UpsertYes
InsertYes
UpdateYes
Mirror—

Tasks support Insert only: every row creates a new task. Journeys always send in this mode.

Audience Sync Modes

Not supported. SAP Sales Cloud V2 accounts, customers, contacts and leads have no list membership to add members to or remove them from. Sync the records with a regular sync instead.

Features

  • Field Mapping: Yes
  • Schema Introspection: No

Matching records

Upsert and update find the existing record by the Match Field. Zeotap reads the value from the mapped field of the same name and queries the object for a record whose property equals it.

ObjectDefault match field
AccountsdefaultCommunication/eMail
Individual CustomersdefaultCommunication/eMail
Contact PersonseMail
Leadsname

To match on your own key, add an extension field to the object in SAP Sales Cloud V2, map your warehouse key to it, and enter its path as the Match Field (for example extensions/ZExternalId). The field must be marked Filterable in Extensibility Administration, or the lookup is refused. Use a path with / between levels (. is also accepted); the mapped field can use . or / too.

  • One match: the record is updated.
  • No match: upsert creates a new record; update reports the row as failed.
  • More than one match: the row fails, because Zeotap cannot tell which record to update. Choose a match field that is unique.

Required Mapping Fields

ObjectRequired Fields
AccountsformattedName
Individual CustomersfamilyName
Contact PersonsfamilyName
Leadsname
Taskslink_value, or account.id / primaryContact.id instead

Your tenant may require more fields on create. Check the object’s API reference in the SAP Business Accelerator Hub.

Default Destination Fields

Accounts: formattedName, defaultCommunication.eMail, defaultCommunication.phoneFormattedNumber, isProspect

Individual Customers: givenName, familyName, defaultCommunication.eMail, defaultCommunication.phoneFormattedNumber, isProspect

Contact Persons: givenName, familyName, eMail

Leads: name, account.id, status

Tasks: link_value, subject, account.id, primaryContact.id, owner.id, priority, startDateTime, dueDateTime, note.content

Field names are the property names of the SAP Sales Cloud V2 APIs. A field name with dots is sent as a nested object: defaultCommunication.eMail becomes {"defaultCommunication": {"eMail": "…"}}.

Trigger tasks from a journey

Choose Tasks as the object to create a task in SAP Sales Cloud V2 for each person who reaches a step of a journey, for example “Call this customer” for the sales rep who owns them. It works like triggering a campaign or Canvas in Braze from a journey: the task settings are fixed for the step, and each person gets one task.

  1. Create (or reuse) an SAP Sales Cloud V2 destination.
  2. In the journey, add a Send to Destination step and pick the destination.
  3. Under Destination target overrides, set Object to Tasks and fill in the task settings: what to link the task to, the subject, and optionally the owner, priority and due date. Different steps can create different tasks from the same destination.
  4. Under Field mappings, map the person’s email address (or whichever field you chose as the Link match field) to Link Value.

Tasks use their own Link match field, not the destination’s Match Field, so a destination set up for another object can trigger tasks from a journey without changing its settings.

For each person, Zeotap looks up the record the task is linked to, by the Link match field (by default the email address: defaultCommunication/eMail for individual customers and accounts, eMail for contact persons). It then creates the task linked to that record: an individual customer or account becomes the task’s account, a contact person its primary contact. If you already hold the person’s SAP ID in your warehouse, map it to account.id or primaryContact.id instead and the lookup is skipped.

Map these fields to set them per person instead of using the step’s settings: subject, owner.id, priority, dueDateTime, startDateTime and note.content. When Due in (days) is set and no due date is mapped, the task starts when it is created and is due that many days later.

  • No record matches the Link Value: no task is created and the person’s row is reported as failed.
  • More than one record matches: no task is created, because Zeotap cannot tell which person is meant. Choose a unique match field.
  • A task is created at most once per send: if SAP Sales Cloud V2 does not answer, the create is not retried, so nobody gets the same task twice.

You can also create tasks from a regular sync in Insert mode. Insert sends every row of the model on every run, so use a model that only returns the rows that should get a task now.

How It Works

Each row is written on its own:

  1. Insert: Zeotap creates the record with POST /sap/c4c/api/v1/<service>/<collection>.
  2. Upsert and update: Zeotap looks the record up by the match field. When it finds one, it reads the record’s current version (its ETag) and updates it with PATCH, sending the version in the If-Match header as the API requires. If the record changed between the read and the update, Zeotap reads the new version and tries once more. When it finds none, upsert creates the record.
  3. Tasks: Zeotap looks up the linked record (unless the row carries its ID) and creates the task with POST /sap/c4c/api/v1/task-service/tasks.

Errors returned by SAP Sales Cloud V2 are shown on the failed row with SAP’s own message, including the field it names. If the credentials are rejected (HTTP 401) or no access token can be obtained, the rest of the batch is not sent, and each unsent row is reported as failed. Requests answered with HTTP 429 or a server error are retried with backoff. A create is retried only after HTTP 429, so a record is never created twice.

Rate Limits

SAP does not publish fixed API rate limits for Sales Cloud V2. Zeotap writes rows one at a time, in order, and backs off when the tenant answers HTTP 429. An upsert or update takes up to three API calls per row, so large initial loads take longer than later incremental runs, which send only changed rows.

Best Practices

  • Match on a stable key. Email addresses change and can be shared. An extension field holding your warehouse ID is the most reliable match field.
  • Leave unmapped what SAP owns. An update sends only the mapped fields, so fields you don’t map keep their values in SAP Sales Cloud V2.
  • Be careful with lists. When an update includes a list property (such as addresses or a lead’s contacts), SAP Sales Cloud V2 replaces the whole list with the one you send.
  • Use a dedicated technical user so changes made by syncs are easy to tell apart in the change history.
  • Start with a small model. Run a sync on a few rows first to confirm the mapping and your tenant’s mandatory fields.

Troubleshooting

Authentication failed (HTTP 401)

Check the username and password, or the client ID, secret and token URL. For Basic Authentication, make sure the technical user is not locked and its password has not expired.

Access denied (HTTP 403)

The user or client has no access to the object’s service. Assign a role that includes read and write access to it (see Permissions).

One or more query parameters passed are invalid

The Match Field cannot be filtered on. For an extension field, turn on Filterable for it in Extensibility Administration, or choose another match field.

Match field has no value

The row has no value in the mapped field named like the Match Field. Map a source column to that field (for contact persons, eMail), or change the Match Field.

More than one record matches

The match field is not unique in your tenant. Choose a unique match field, such as an extension field holding your own ID, or clean up the duplicates in SAP Sales Cloud V2.

No record matches (update mode)

Update mode never creates records. Switch the sync to upsert to create the missing ones, or check that the match values agree between the two systems.

Precondition failed (HTTP 412)

The record kept changing while Zeotap updated it, usually because another integration or a user edited it at the same moment. The row is retried on the next run.

Field is mandatory or invalid (HTTP 400)

SAP Sales Cloud V2 rejected the record. The row error carries SAP’s message: map the missing field, or correct the value (for example a code list value such as a lead status).

No record matches (tasks)

The Link Value did not match any record of the object the task is linked to. Check that the mapped value is the person’s email address (or the value of your Link match field), and that the person exists in SAP Sales Cloud V2 as the object you chose under Link task to.

Tasks are only created

A sync of tasks uses Upsert or Update mode. Switch it to Insert: tasks cannot be found again to update.

Tenant URL refused

Enter the tenant origin only, starting with https:// and without a path, for example https://my1234567.crm.cloud.sap.

Last updated on