Creating Workflows with the Pipedream REST API
Blog post from Pipedream
Pipedream's workflow editor is designed to streamline the creation and hosting of HTTP REST endpoints and scheduled tasks without the need for extensive project setup, making it ideal for developers like BigCommerce Partners or App Developers who need to automate processes using access tokens. The guide explains how to programmatically copy and modify an existing workflow for different merchant accounts using the Pipedream Workflow REST API, which is particularly useful for scenarios such as polling BigCommerce stores for product and order information. The process involves using a Node.js starter template and a MySQL database to store access tokens, creating workflows that can be duplicated and customized for new merchants by altering specific properties like the storeHash. The guide highlights the use of external authentication for BigCommerce actions and provides steps to generate an API request to create a new workflow, emphasizing the current limitation that only allows replacing property configurations, not altering steps or code within them. This enables developers to efficiently scale and automate workflows for each new BigCommerce app installation.