📦⚡4. Types of Workflows
📦 Batch Workflow
In our examples, we have so far seen how one time synchronization happens by clicking on Sync Now. In a real time scenario, Batch Workflows are usually used when you want synchronization to happen at regular intervals.
Batch synchronization means data is updated in groups, not instantly. Think of it like doing household chores once a day instead of cleaning after every small mess. Scheduled Batch Synchronization runs automatically at fixed times, without any user action.
It is suitable when:
Large amounts of data need to be updated
Immediate updates are not required
Data must be updated at a preferred time (for example, 12:00 AM UTC) or at regular intervals (such as every hour or every Thursday at 7:00 PM IST)
Click on Workflows icon on the left side and you will see the list of workflows added in the Project.
You will see the Schedule Manager in that.

Click on the Manage Button and Click on Add Schedule.

You can configure the frequency of when the sync needs to happen
Minute
Every __ minutes: Use when you want the sync to happen at a frequency say, for example, every 5 minutes or every 30 minutes (You can configure the number till 60)
Specific Minute: Use when you want the sync to happen at a specific minute of the hour Example: Every 15th and 33rd minute of the hour.
Hour
Every hour: Choose when every hour when you want the sync to happen every hour (at the configured minute(s) if applicable)
Every ___ hour: Choose when you expect the sync at a frequency
Specific hours: Use when you want the sync to happen at a specific hours
Every hours between ___ and ____ : Comes in handy when you want syncs only during your working hours every hour
The same flexibility applies to the following options:
Every day, Specific day of week (choose one or many), Specific day of month (choose one or many) under day of the month
Every month, Specific month (choose one or many), Every month between ____ and _____ under Month etc.,

When you configure, you will see the description which helps you understand the configuration set. You can add schedules based on your use case.
Auto Pilot Mode ensures the workflow runs automatically on the configured schedule without any manual intervention. Enable Auto Pilot Mode on. Once saved, you can see all your configured schedules listed under the Schedule Manager. On the workflow listing page, you can see when the next sync will run and when the previous sync has happened. You can check the logs from the Logs Icon for clarity.
⚡ Dynamic Workflow
Dynamic synchronization means data moves immediately when something happens.
You can think of it like a live phone call — you ask a question and you get an answer immediately, with no waiting. Dynamic Synchronization is “do it now”.
When an action happens, the system uses an API request to inform the DCKAP Integrator. The dynamic workflow starts at once, processes the data, and sends back the response immediately.
When to use Dynamic Synchronization?
When speed is critical
When real-time accuracy is required
When users expect instant updates
Now let's build one and see it in action
Step 1:
Let’s create a dynamic Workflow.
Step 2:
Add Sample Data. Provide a sample of what the request body will look like when you call this workflow (In Dynamic Payload). This is essential for DCKAP Integrator to understand the structure to show in the Data Hub.
Example:
Step 3:
Add Code Runner to reduce $20 if the type is a “new” customer.
Enable show in console logs for the step
Step 4:
Add Set Response Step as the last step - return the data you want to send to the caller which is Code Runner’s response. So, choose the Code Runner step result from DataHub.
Step 5:
After building the workflow, enable the console for the workflow and save. You can copy the URL using the Copy URL Button and use it anywhere.
Step 6:
Go to Postman. Add a Request and paste the copied URL.
Step 7:
Go to DCKAP Integrator -> Project Settings -> Access Key -> Click on Create New Key. Name the key and save. Copy the API Key.
Step 8:
Go back to Postman.
Go to the headers of the created request and add “Authorization” and in value type “Bearer ”and paste the key .
Authorization
Bearer <Paste your Key>
Keep the method as POST for the request
In Body, Raw, paste
Hit Send. Check the result in Postman and see the Console Logs of your Dynamic Workflow.
🎉 Good Job! You executed your first Dynamic Workflow.
Last updated
Was this helpful?