Easy money-flow builder

Easily define and customize your financial sequences using a straightforward YAML format. With clear stages like 'send', 'wait_event', and 'delay', setting up your workflow is a breeze.

Multi-steps workflows

Tailor your money flows to your needs. With Flows, you can design intricate workflows that consider potential delays, external events, and other contingencies.

Native error management

Ensure uninterrupted financial operations. If a transaction faces issues, Flows natively provides options to retry or fall back to alternative methods, ensuring continuity.

import { Formance } from "@formance/formance-sdk";
import { CreateWorkflowResponse } from "@formance/formance-sdk/dist/sdk/models/operations";
import { ErrorErrorCode } from "@formance/formance-sdk/dist/sdk/models/shared";
 
const sdk = new Formance({
  security: {
    authorization: "Bearer YOUR_ACCESS_TOKEN_HERE",
  },
});
 
sdk.flows.createWorkflow({
  name: "Lela Orn",
  stages: [
    {
      "corporis": "explicabo",
    },
  ],
}).then((res: CreateWorkflowResponse) => {
  if (res.statusCode == 200) {
    // handle response
  }
});