Apps
Define your workflow
Plan what your Custom App should do before you write code.
Before writing code, define the workflow your app should support:
Describe your app in one sentence
The best Custom Apps are focused. They help a team complete one job inside Cloud instead of trying to become a large internal system.
For our Stripe Sync app, its job is:
Import pay-ins and payouts from Stripe into Blnk and syncing them with existing customer identities in Blnk.Map your workflow
From there, map the work the app needs to handle. Here’s the workflow for our Stripe Sync app:
| Step | What the app needs to do |
|---|---|
| Sync from Stripe | Connect to a Stripe account and read pay-ins and payouts (and related Stripe ledger data as needed). Also sync the customer identities from Stripe to Blnk. |
| Import to Blnk | Create or update ledger transactions in the selected Cloud instance so Blnk mirrors Stripe activity. |
This gives the app a clear boundary of what the workflow is responsible for and what should happen at each step. If done well, you can now easily switch payment providers without worrying about the Stripe data being lost.