2. SkyvvaSalesforce Sender Adapter in SAP Integration Suite
1. Introduction
The SkyvvaSalesforce Sender Adapter brings data from Salesforce into SAP Integration Suite. Choose Event Processing to receive Salesforce events, or Schedule Processing to retrieve records at set times.
This settings guide covers adapter version 1.3.0 and explains how the selected processing mode changes the available fields.
The SkyvvaSalesforce sender connection receives Salesforce data at Start. The iFlow then processes the data and sends it to the target system.
Figure 1. Salesforce data enters CPI through the SkyvvaSalesforce sender adapter.
Context Before You Start
Use Event Processing for Salesforce notifications and record changes. Use Schedule Processing to retrieve records at set times using a saved query.
Before you begin:
- Install and deploy the adapter. See the Installation and Beginner Guide if needed.
- Ask your Salesforce administrator to enable Client Credentials Flow for the application and select the integration user under Run As. The user needs access to the records or events you will receive.
- For Schedule Processing, prepare the SKYVVA Integration and Interface with its saved query.
- For Event Processing, prepare the Salesforce event channel or managed subscription before configuring the sender.
For scheduled queries, record the actual SKYVVA package version installed in Salesforce; this is separate from the adapter release and Salesforce API version.
Ask your administrator to allow the required Salesforce connections. Agree how the target system will handle repeated records and failed deliveries.
How This Guide Is Organized
Follow the tabs in order: General → Connection → Processing. Then read the section for your chosen processing mode:
- Section 5: Event subscriptions, replay, polling, and managed commits.
- Section 6: Scheduled record retrieval through a SKYVVA Interface query.
- Sections 7–8: Message format, logging, and Salesforce API version.
- Section 9: Scheduler settings for scheduled queries and event polling.
Only fill in the fields displayed for the mode and operation you select. Continuous Topic - Subscribe does not use the Scheduler tab.
2. Sender Adapter Configuration
Use a prepared test iFlow. The package name below is an example; open the package that contains your own test flow.
- In SAP Integration Suite, click Design in the left main menu.
- Open the package containing your test integration flow, for example Skyvva Salesforce Adapter Testing.
- Open Artifacts, click the test iFlow's name, and click Edit.
- Select the incoming connection line from Salesforce to Start.
- In the adapter selection dialog, search for SkyvvaSalesforce and select it.
If the settings panel is collapsed, click Restore beside its maximize icon, or drag the bottom divider upward.
Figure 2. Choosing SkyvvaSalesforce for the incoming connection.
The adapter has four tabs:
| Tab | What to configure |
|---|---|
| General | Enter a name and an optional description for the sender connection. |
| Connection | Choose how to sign in to Salesforce and enter the saved application credential alias. |
| Processing | Choose Event Processing or Schedule Processing and configure the displayed fields. |
| Scheduler | Set when scheduled queries or Topic - Polling run. Topic - Subscribe ignores these settings. |
The Name helps you identify this connection in the flow. The optional Description explains its purpose, for example “Receive Account changes.” Check that Direction is Sender and Adapter Type is SkyvvaSalesforce.
Figure 3. General tab for the SkyvvaSalesforce sender connection.
3. Connection Tab
Use the Connection tab to set up access to Salesforce.
Select Client Credential, enter your Salesforce My Domain base address in Login Url, and enter the saved application credential name in Client Credential, for example skyvva-client-credentials. This saved name is called an alias.
Figure 4. Connection settings for Client Credential authentication.
3.1 Authentication Type
The Authentication Type is fixed to OAuth2.
3.2 OAuth2 Flow
Select Client Credential. The User Credential field is hidden for this choice.
3.3 Login Url
Enter your Salesforce My Domain base address:
| Environment | Address format |
|---|---|
| Production | https://your-domain.my.salesforce.com |
| Sandbox | https://your-domain--sandbox-name.sandbox.my.salesforce.com |
Use your organization's actual address. Do not add /services/oauth2/token; the adapter adds the token path.
3.4 Client Credential
Enter the alias of the saved Salesforce application's Client ID and Client Secret, for example skyvva-client-credentials. Deploy the Security Material entry before using it in the channel.
If you already use a working application credential entry for the SkyvvaSalesforce receiver, reuse its alias in the same CPI tenant. For setup steps, see Client Credential in the Receiver Adapter Guide.
3.5 Test the sender
After completing Processing and any required Scheduler settings:
- Save and validate the iFlow, then deploy it. In Monitor → Integrations and APIs → Manage Integration Content, check that it is Started.
- For Event Processing, wait for the subscription to start, then perform the test action below. If you use Topic - Polling, perform the action during the scheduled listening window:
Event type Test action in Salesforce Change Data Capture Change a test record in an object enabled for Change Data Capture. PushTopic Make a test record change that matches the prepared PushTopic query and notification settings. Platform Event Publish a test event, or ask your Salesforce administrator to publish it. Generic Event Send a test notification to the configured channel, or ask your Salesforce administrator to send it.
- For Schedule Processing, prepare a test record that matches the Interface query and wait for the configured run.
- Check the received message in CPI. Confirm that the target received the expected data, such as a file or saved record, and check its contents.
- If delivery fails, check the error and any records already accepted by the target before retrying. Use the agreed recovery steps to prevent duplicates.
4. Processing Tab
Choose Processing Mode:
| Choice | Purpose |
|---|---|
Event Processing | Default. Receive events from Salesforce. |
Schedule Processing | Retrieve records at set times using the query saved on a SKYVVA Interface. |
Format and Adapter Setting apply to both choices.
The remaining fields change with Processing Mode. For scheduled queries, enter the SKYVVA Integration and Interface. For events, enter the channel or managed subscription name.
Figure 5. Event Processing and Schedule Processing choices.
5. Event Processing
Choose Event Processing to receive Salesforce events. The fields below appear according to the event type and subscription choices.
For an existing PushTopic named Account, select PushTopic Events, enter /topic/Account in Channel Name, and choose Topic - Subscribe. To receive new events, select Events from latest position (Latest) and Replay from UI configured value. See Subscription Behaviour On Reset for how saved positions affect restarts.
Figure 6. PushTopic event subscription settings.
5.1 Event Type
Choose the events to receive:
| Event Type | Description |
|---|---|
PushTopic Events | Default. Record changes covered by an existing PushTopic; uses CometD. |
Generic Events | Notifications sent through a Salesforce notification channel; uses CometD. |
Platform Events | Published business notifications, individually or through a grouped channel; uses Pub/Sub. |
Change Data Capture Events | Automatically generated changes for enabled Salesforce objects; uses Pub/Sub. |
5.2 Replay Id Approach
Choose where to start receiving events. A saved position may take priority; see Subscription Behaviour On Reset. This field is hidden for Salesforce-managed subscriptions.
| Choice | Events received |
|---|---|
Events from latest position (Latest) | Default. New events after the connection starts. |
Events from earliest position (Earliest) | All events still available in Salesforce. |
Events from a specific position (Custom) | Events after the Replay Id entered below. |
5.3 Replay Id
Shown when Replay Id Approach is Events from a specific position (Custom).
Enter the replay ID reported by this sender for a previously received event, for example 9. Pub/Sub replay text can also use a base64: prefix. Copy the complete reported value; do not calculate the next ID or use it as a customer/business key. The adapter requests available events after that position.
Before production use, test that the sender receives the expected events after a disconnect or restart. If any events are missing, compare the Salesforce source data with the target records and recover the missing deliveries.
Salesforce retains Platform Events and Change Data Capture events for 72 hours. For longer outages, use retained source data to identify and resend missing records.
5.4 Operation
| Operation | Description |
|---|---|
Topic - Subscribe | Default. Keep receiving events while the flow is running. Scheduler settings are ignored. |
Topic - Polling | Receive events during each scheduled listening window. Set Poll Wait Time and configure the Scheduler Tab. |
5.5 Poll Wait Time (in ms)
Shown for Topic - Polling. Set how long each run receives events before disconnecting.
Default: 30000 milliseconds (30 seconds).
Each event enters the iFlow separately. This setting controls how long the sender listens; later processing may take longer. Replay settings determine whether the next run receives events published between runs. Latest skips events published before the first subscription starts.
5.6 Channel Name
Enter the Salesforce channel name exactly, including its prefix and letter case. For Salesforce-managed subscriptions, use Managed Subscription Name instead; see Subscription Model, Managed Subscription Name, and Commit Strategy.
| Event Type | Channel Name prefix | Example |
|---|---|---|
PushTopic Events | /topic/ | /topic/Account |
Generic Events | /u/notifications/ | /u/notifications/ExampleUserChannel |
Platform Events | /event/ | /event/TestEvent__e or /event/OrderChannel__chn |
Change Data Capture Events | /data/ | /data/AccountChangeEvent, /data/ChangeEvents, or /data/SalesEvents__chn |
5.7 Max Buffer Size (in bytes)
Shown for PushTopic and Generic Events. Sets the maximum size of an event response accepted by the adapter. Use Request Batch Size to control event requests for Platform Events/CDC, or Processing Package Size to group scheduled query results.
Default: 10485760 (10 MB). Increase it if the response is too large.
5.8 Message Expiration (in ms)
Sets how long the adapter remembers event IDs to avoid processing the same event again.
Default/minimum: 300000 milliseconds (5 minutes). The target system must also handle repeated records after this window. This setting does not change how long Salesforce retains events.
5.9 Subscription Mechanism
A runtime node is a worker that runs your iFlow. Choose whether all workers or one worker subscribes to Salesforce.
| Choice | Description |
|---|---|
Subscribe on all runtime nodes | Default. Each worker subscribes. The same event may be received more than once. |
Subscribe on one runtime node | Selects one worker to subscribe. Use this for a dedicated Salesforce-managed subscription. |
Ask your CPI administrator to test what happens if the subscribing worker stops. Subscribe on one runtime node does not guarantee automatic failover. If CPI cannot coordinate its workers, more than one may subscribe. Keep duplicate handling in the target system.
5.10 Subscription Behaviour On Reset
Choose where to resume after the flow restarts. Hidden for Salesforce-managed subscriptions.
| Choice | Description |
|---|---|
Replay from last processed message | Continue after the last saved event ID. The ID is saved before the flow processes the event, so a failed event may not be sent again. |
Replay from UI configured value | Default. Use Replay Id Approach when the flow starts again. |
Replay from UI configured value applies when the sender starts. Later reconnects and polling runs continue from the saved position, so the initial replay choice is not repeated on every run.
A saved position confirms receipt, not successful target processing. Keep failed messages for resending, or compare source and target records to find missing work.
5.11 Max Network Delay (in ms)
Default: 120000 milliseconds (2 minutes).
Keep the default. To change how long the target connection waits for a response, configure that receiver connection separately.
5.12 Subscription Model, Managed Subscription Name, and Commit Strategy
For Platform Events and Change Data Capture, choose a Subscription Model:
- Client-managed: enter the channel and replay settings in CPI.
- Salesforce-managed: Salesforce saves where the sender should resume. Ask your Salesforce administrator to prepare a dedicated managed subscription for this sender and set it to Run before starting the iFlow.
Salesforce currently labels Managed Event Subscriptions as Beta. Confirm availability and permissions with your Salesforce administrator. Do not share the subscription with another consuming application.
| Subscription Model | Setup and behavior |
|---|---|
Client-managed (Subscribe) | Default. A failed event is not automatically sent again. |
Salesforce-managed (Managed Event Subscription) | Enter the subscription's developer name in Managed Subscription Name and choose Commit Strategy. These fields appear only for this model; Channel Name and replay settings are hidden. Events that fail in the iFlow can be sent again. |
Confirm successful processing
For Salesforce-managed subscriptions, Commit Strategy controls when the adapter tells Salesforce how far processing has succeeded. This confirmation is called a commit:
- After each event (default): confirm progress once the events being processed have completed successfully. Events processed together can be confirmed together.
- After each batch: confirm progress after at least Request Batch Size events succeed and no events are still being processed. A smaller remaining group can also be confirmed when the subscription is idle or closes.
An error that the iFlow handles successfully counts as processed. If a failed event must be sent again, leave the iFlow in a failed state, for example by ending its Exception Subprocess with Error End.
Resume and recover deliveries
Events can repeat after reconnect or polling. Make sure the target can receive the same event again without creating duplicate records or repeating a business action.
The Salesforce-managed subscription defines the topic, starting position and what to do if the saved position is no longer available. To pause this sender, stop the iFlow. Changing the Salesforce subscription itself to STOP clears its saved processing position.
Some events rejected before reaching the iFlow may be skipped and may not be sent again. Monitor subscription errors and compare affected Salesforce records with the target data to recover missing deliveries.
For a managed CDC subscription, select Change Data Capture Events → Salesforce-managed. Enter the prepared Managed Subscription Name and choose the Commit Strategy. Select Subscribe on one runtime node.
Figure 6a. Salesforce-managed CDC subscription settings.
To receive events during scheduled listening windows, choose Topic - Polling, enter Poll Wait Time, and configure the Scheduler tab. For example, 30000 listens for 30 seconds per run.
Figure 6b. Salesforce-managed CDC polling settings with a 30-second listening window.
5.13 Request Batch Size
Shown for Platform Events and Change Data Capture in both subscription models. Enter how many events to request at a time: 1–100, default 100. Each event enters the iFlow separately. For managed subscriptions using After each batch, this also sets how many successful events are needed before confirming progress.
5.14 Replay Preset for Invalid Replay ID
Choose where to resume if Salesforce no longer accepts the saved event ID. Hidden for Salesforce-managed subscriptions.
- Event from latest position (Latest) (default): receive new events; earlier events are skipped.
- Event from earliest position (Earliest): receive all events still available; some may be received again.
5.15 Process Errors as an Event
Default: off. Errors while receiving events are recorded in the logs.
Enable this option to send errors from the event connection into the iFlow as messages. Check for the header CamelSalesforceErrorEvent=true and send those messages to your logging or notification process. Keep them separate from business data. This option does not resend failed records; errors in later processing steps are handled by the iFlow.
6. Schedule Processing
Choose Schedule Processing to retrieve Salesforce records at set times. Configure the fields below, then set the run time in the Scheduler Tab.
Enter the SKYVVA Integration and Interface names for the saved query. Select Query, choose Custom Package Size, and enter 50 to send up to 50 records per message within each result page. Set the run time in Scheduler.
Figure 7. Schedule Processing with Custom Package Size set to 50.
6.1 Integration
Enter the name of the SKYVVA Integration record in Salesforce that owns the Interface to be polled.
6.2 Interface
Enter the SKYVVA Interface name. It must belong to the Integration selected above. The adapter uses the query saved on that Interface in Salesforce.
Restart or redeploy the iFlow after changing the Interface query. Give the integration user read access to the Integration, Interface, queried objects and selected fields. The CPI Scheduler controls when this query runs.
6.3 Operation
Choose which records to retrieve:
| Operation | Description |
|---|---|
Query | Default. Returns active records only. |
Query All | Also includes available deleted and archived records where applicable; it respects query filters and user access. |
6.4 Processing Package Size
Select how the records from a scheduled run are grouped into messages:
| Processing Package Size | Description |
|---|---|
None | Default. Each Salesforce result page is sent as a separate message. |
Custom Package Size | Each result page is split into groups of up to the custom size. Each group stays within one page — see Custom Package Size. |
The adapter reads all Salesforce result pages and sends one message per page or group. If the query finds no records, no business message is sent. Each run executes the saved query again; it does not automatically remember the last successful run. Use query filters to select the intended records and expect repeated records when runs overlap.
Check both query errors and target delivery errors. Keep failed messages for resending when needed. A successful query does not confirm delivery of every group, and a record missing from the results does not necessarily mean it was deleted.
6.5 Custom Package Size
Shown only when Processing Package Size = Custom Package Size.
Enter the largest number of records to include in each message. Use a number greater than zero. The last group of each page may be smaller.
Default: 50
7. Format
These settings apply to both processing modes.
7.1 Payload Format
Select the format of the message body:
| Payload Format | Description |
|---|---|
Application/XML | Send the message body as XML. Default. |
Application/JSON | Send the message body as JSON. |
Message structure
Event messages include channel and event details under data. Platform Events and Change Data Capture store business fields under data.payload; PushTopic records use data.sobject.
CDC updates can contain only the changed fields. Check ChangeEventHeader.recordIds, changedFields and nulledFields so you update the correct records and clear fields when required. One CDC event can identify several records.
Scheduled results group records under the Salesforce object name. JSON uses QueryResult.Account; XML uses QueryResult/records/Account. The following examples show one Account record:
{
"QueryResult": {
"totalSize": 1,
"done": true,
"Account": [
{"Id": "001000000000001AAA", "Name": "Example Customer"}
]
}
}
<QueryResult>
<totalSize>1</totalSize>
<done>true</done>
<records>
<Account>
<Id>001000000000001AAA</Id>
<Name>Example Customer</Name>
</Account>
</records>
</QueryResult>
totalSize is the total for the whole query; a message may contain fewer records. done and nextRecordsUrl describe query progress, not target delivery. Replace the sample record ID with your own data and check a received message before preparing CPI Message Mapping.
7.2 Pretty Print
Enable to make the message easier to read.
8. Adapter Setting
These settings apply to both processing modes.
8.1 Logging option
Use Default for normal operation. Other choices are Trace level, Debug level, Info level, Warning level, and Error level.
Use Trace or Debug temporarily when investigating a problem. Detailed adapter logging can also affect other connections that share its logging settings. Return to Default when the investigation is finished.
8.2 Salesforce Api Version
Enter a Salesforce API version supported by your organization and selected operation. The default is 53.0. The sender checks for a minimum of 52.0 in both processing modes.
On the Processing tab, set Logging option and Salesforce Api Version under Adapter Setting.
Figure 8. Adapter Setting: logging and Salesforce API version.
9. Scheduler Tab
For Event Processing → Topic - Subscribe, the sender keeps a subscription open while the iFlow runs and receives Salesforce events as they arrive. It does not wait for a scheduled polling time, so the Scheduler tab is ignored. Leave its settings unchanged; changing the schedule does not control event delivery in this mode.
The yellow Scheduler message is informational. Configure this tab only for Schedule Processing or Topic - Polling.
For scheduled queries or event polling, choose Schedule on Day or Schedule to Recur to set when the flow retrieves data.
| Processing Mode | Operation | Scheduler tab used? |
|---|---|---|
Schedule Processing | — | Yes. Retrieve records at the set times (Schedule Processing). |
Event Processing | Topic - Polling | Yes. Receive events for the set time on each run (Operation and Poll Wait Time). |
Event Processing | Topic - Subscribe | No. Events are received while the flow is running; Scheduler settings are ignored. |
Check the selected time and time zone. The sender's Scheduler drives scheduled queries and event polling; do not add a separate Timer to start the same sender flow. For polling, allow for the listening window and downstream processing when choosing the interval.
Figure 9. Scheduler set to run daily at the selected time and time zone.
10. Summary
The SkyvvaSalesforce Sender Adapter brings Salesforce events and records into SAP Integration Suite. Use the following settings to choose how data enters your integration flow:
| Configuration area | What to configure |
|---|---|
| Connection | Select Client Credential, enter the My Domain base Login Url, and enter the application credential alias. |
| Event Processing | Choose the event type and channel. Receive events continuously with Topic - Subscribe, or at set times with Topic - Polling. |
| Replay settings | Start with new events, all available events, or events after a saved ID. Choose where to resume after a restart or when an ID is no longer accepted. |
| Subscription Model | For Platform Events/CDC, choose who stores the event position. Salesforce-managed subscriptions can send failed iFlow events again. Both models need duplicate handling and recovery steps. |
| Schedule Processing | Enter the SKYVVA Integration and Interface names. The adapter retrieves records using the query saved on that Interface. |
| Processing Package Size | Send each result page as one message, or divide it into smaller groups of records. |
| Format | Choose XML or JSON. Enable Pretty Print to make messages easier to read. |
| Adapter Setting | Set the logging choice and Salesforce API version. The API version must be 52.0 or higher. |
| Scheduler | Set when records or events are retrieved. This tab applies to Schedule Processing and Topic - Polling. |
Before testing, check the credential alias and Salesforce channel or SKYVVA Interface names. For scheduled records, confirm that the Interface query selects the records you need. Restart or redeploy the iFlow after changing that query.
Choose the event delivery settings with care. With client-managed subscriptions, failed events are not automatically sent again. Salesforce-managed subscriptions can resend events, so the receiving system should handle repeated events. Use Process Errors as an Event if the flow needs to act on errors that occur while receiving Salesforce events. Keep error messages separate from business data and compare source and target records when checking that all data arrived.