Cloud Workflow
Raise an IssueJoin Community
  • Getting Started
    • Introduction
    • Integration Basics
    • Sign Up and Get a License
    • Features and Benefits
  • DBSync Platform
    • Core Components
    • System Requirements
    • AppCenter
      • Company and User Management
    • Development Studio
    • Security Features
  • iPaaS
    • Home
    • Apps
    • Extend
      • Functions
    • Administration
      • User & Role Management
    • Logs
    • Remote Agent
    • Published Templates
  • Create your Workflow
    • Project
    • Task
    • Flow Builder
      • Standard Functions
    • Actions
      • Flow
      • Variable
      • Transform and Write
      • SQL
      • Restructure
      • Query
      • Debug
      • ReST
      • Conditions
        • If (Condition)
        • For (Loop)
      • Storage
        • Dropbox
        • File
        • CSV
        • Google Drive
        • FTP
        • S3
      • Flow Management
        • Flow
        • Logs
        • Notification
        • Schedule
        • API
        • Webhook
        • Forms
    • Configuring DBSync Environment
  • Connectors
    • Amazon S3
    • Authorize.NET
    • ChannelAdvisor
    • Database
    • Dropbox
    • FTP
    • Google Drive
    • Google Sheets
    • HubSpot
    • JIRA Cloud
    • JIRA Service Management
    • Linnworks
      • Creating the DBsync Application on Linnworks Developer Instance
    • Mailchimp
    • Microsoft Dynamics 365 Business Central
    • Microsoft Dynamics 365 Finance and Operations (D365 F&O)
    • Microsoft Dynamics CRM Online
    • Microsoft Dynamics GP
    • Microsoft Dynamics NAV
    • monday.com
    • Narvar
    • NetSuite
      • NetSuite Connector Settings
    • OpenAPI
    • PointClickCare
    • QuickBooks Desktop
    • QuickBooks Online
    • Sage Intacct
    • Salesforce
    • ShipStation
    • Shopify
    • SkuVault
    • WooCommerce
  • Template Library
    • Salesforce to QuickBooks Online Order to Cash
    • Salesforce to QuickBooks Desktop Order to Cash
    • Salesforce to FTP Integration
    • QuickBooks Online to Salesforce Accounts Receivable
    • QuickBooks Desktop to Salesforce Accounts Receivable
    • QuickBooks Online to Business Central Integration
    • QuickBooks Online to ShipStation Orders
    • QuickBooks Desktop to Shipstation Orders
    • QuickBooks Desktop to monday.com Integration
    • QuickBooks Online to monday.com Integration
    • Shopify to QuickBooks Online
    • Shopify to QuickBooks Desktop
    • Linnworks Orders to QuickBooks Online
    • Linnworks Orders to QuickBooks Desktop
    • Linnworks to Salesforce Integration
    • Salesforce Litify and QuickBooks Online
    • Salesforce Litify and QuickBooks Desktop
    • HubSpot to QuickBooks Online Order to Cash
    • HubSpot to QuickBooks Desktop Order to Cash
    • SkuVault Orders to QuickBooks Desktop
    • SkuVault Orders to QuickBooks Online
    • SkuVault and Salesforce
    • ChannelAdvisor Orders and Salesforce
    • ChannelAdvisor and QuickBooks Online
    • ChannelAdvisor and QuickBooks Desktop
    • Shopify Orders to Dynamics365 CRM
    • Shopify Orders to Salesforce
    • ShipStation to Dynamics 365 CRM
    • ShipStation Orders to Salesforce
    • ShipStation to QuickBooks Online Orders
    • ShipStation to QuickBooks Desktop
    • Target Recruit to QuickBooks Online
    • Target Recruit to QuickBooks Desktop
    • QuickBooks Online to Database
    • QuickBooks Desktop to Database
  • Troubleshooting
    • Common Errors & Fixes
    • Adding Trusted IP Address in Salesforce
    • Installing QuickBooks Web Connector
    • QuickBooks to Salesforce Data Migration
    • Setting Password in QuickBooks Web Connector
    • Starting QuickBooks Web Connector
    • Update Salesforce Password & Security Token in DBSync
  • Additional Resources
    • Billing Information - Auto Renewal
  • Tutorials
    • Salesforce and QuickBooks
      • Account Hierarchy in Salesforce and QuickBooks
      • Account Owner Mapping
      • Resolving Email Fields Sync Issues in QuickBooks Online
      • Mulitple Price Levels in Salesforce QuickBooks Integration
      • Multicurrency in QuickBooks to Salesforce Integration
      • Multicurrency in Salesforce - QuickBooks Desktop Integration
      • Multicurrency in Salesforce QuickBooks Online Integration
      • Product Hierarchy in QuickBooks and Salesforce
      • QuickBooks Data Extraction Queries
      • QuickBooks File Backup and Recovery Process
      • QuickBoooks Reports to Salesforce Integration
      • Recurring Transactions to Accounting System
      • Retrieve Value from custom Field of QuickBooks Online
      • Salesforce Opportunity to QuickBooks - Disabling Jobs
      • Salesforce QuickBooks Custom Mappings
        • Use Case
      • Salesforce QuickBooks Integration with Multiple QuickBooks
      • Syncing Standard Group Line Items in QuickBooks Desktop
    • Using Date Function in DBSync Integration
    • Salesforce and Database
      • Database to Salesforce Integration
    • Database to Database
      • Database to Database Integration
Powered by GitBook
On this page
  • Introduction
  • Additional Information
  1. Create your Workflow
  2. Actions
  3. Flow Management

API

Interact with your workflows using APIs, enabling automation and integration with external systems

PreviousScheduleNextWebhook

Last updated 1 month ago

Introduction

The API tab in DBSync Cloud Workflow allows you to interact with your workflows programmatically, enabling automation and integration with external systems. Through a set of RESTful API endpoints, you can run tasks, check the status of workflows, and even interrupt tasks if needed. This powerful feature is designed to help you automate processes, integrate workflows with other applications, and provide more flexibility for managing your tasks outside of the DBSync platform.

The API tab provides essential tools to control and monitor workflows in real-time. Whether you're triggering specific tasks, checking task statuses, or halting tasks that are running longer than expected, the API endpoints allow for seamless communication between your systems and DBSync Cloud Workflow.

By leveraging the available API endpoints, you can create custom solutions that cater to your specific needs, automating critical business processes and improving operational efficiency.

In this tab, you'll find:

  • Base URL: The URL to access the API for interacting with workflows.

  • POST and GET Endpoints: To run tasks, retrieve task statuses, and interrupt tasks as necessary.

  • Actions: Options to test, edit, or remove API configurations.

Here is a description for each of the fields in the API section of the screenshot you provided:

1. Base URL

  • Description: This field displays the base URL for the API, which is the endpoint you will use to interact with the API for managing tasks.

  • Example: https://api-platform3.dbsync.io/cw/api/v2 is the URL you will use for sending API requests to DBSync Cloud Workflow.

  • Functionality: You append specific paths to this URL to interact with different API endpoints. For example, appending /project/{projectId}/task/{taskId}/run would allow you to run a specific task.

2. POST - /project/{projectId}/task/{taskId}/run

  • Description: This API endpoint allows you to run a specific task within a project.

  • Method: POST

  • Example: POST /project/{projectId}/task/{taskId}/run will trigger the execution of the task specified by the taskId in the project identified by projectId.

  • Functionality: You can use this endpoint to start a task programmatically, passing the necessary parameters such as projectId and taskId to execute the task.

3. GET - /status/{pid}

  • Description: This API endpoint allows you to check the status of a task.

  • Method: GET

  • Example: GET /status/{pid} will return the current status of the task with the specified pid (process ID).

  • Functionality: This is useful for monitoring the state of a task, such as whether it is running, completed, or encountered an error. The status could be vital for automated systems that need to track the progress of workflows.

4. GET - /interrupt/{pid}

  • Description: This API endpoint allows you to interrupt or stop a running task.

  • Method: GET

  • Example: GET /interrupt/{pid} will stop the task identified by the process ID (pid).

  • Functionality: This is useful when you need to terminate a task that is running longer than expected or if an error requires you to manually stop the task from continuing. It can help manage long-running tasks or handle unexpected situations.

5. Actions (Edit, Delete, and Test)

  • Description: This section contains options to edit, delete, or test the API configurations.

  • Operations:

    • Edit: Click the pencil icon to modify any settings related to the API configuration.

    • Delete: Click the trash can icon to remove the API configuration if it’s no longer needed.

    • Test (if available): You may have an option to test the API calls directly from this section to ensure that they are functioning as expected.

Additional Information

  • Functionality: The API section allows users to manage tasks and their execution programmatically. Using the provided endpoints, developers can integrate workflow management into their own systems or automate processes using API calls.

  • Authentication: You will typically need to authenticate your API requests using an API key or other authentication methods provided by DBSync. This is not shown directly in the screenshot but is often required for secure API interactions.