OSS-first docs

These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.

pfo.workflow.sync-openbanking-accounts

Validates Powens connectivity and synchronises bank account metadata into the canonical ledger.

  • Type: workflow (workflow)
  • Version: 1.0.0
  • Tags: open-banking, powens
  • File: packages/examples/pocket-family-office/src/workflows/sync-openbanking-accounts.ts
  • field.key.label
    pfo.workflow.sync-openbanking-accounts
    field.version.label
    1.0.0
    field.type.label
    workflow (workflow)
    field.title.label
    pfo.workflow.sync-openbanking-accounts
    field.description.label

    Validates Powens connectivity and synchronises bank account metadata into the canonical ledger.

  • Type: workflow (workflow)
  • Version: 1.0.0
  • Tags: open-banking, powens
  • File: packages/examples/pocket-family-office/src/workflows/sync-openbanking-accounts.ts
  • field.tags.label
    open-banking,powens
    field.owners.label
    field.stability.label

    Validates Powens connectivity and synchronises bank account metadata into the canonical ledger.

    Source Definition

    export const syncOpenBankingAccountsWorkflow = defineWorkflow({
    	meta: {
    		key: 'pfo.workflow.sync-openbanking-accounts',
    		version: '1.0.0',
    		title: 'Synchronise Open Banking Accounts',
    		description:
    			'Validates Powens connectivity and synchronises bank account metadata into the canonical ledger.',
    		domain: 'finance',
    		owners: [OwnersEnum.PlatformFinance],
    		tags: ['open-banking', 'powens', TagsEnum.Automation],
    		stability: StabilityEnum.Experimental,
    	},
    	definition: {
    		entryStepId: 'sync-accounts',
    		steps: [
    			{
    				id: 'sync-accounts',
    				type: 'automation',
    				label: 'Sync Accounts',
    				description:
    					'Refresh linked bank accounts via Powens and upsert canonical BankAccount records.',
    				action: {
    					operation: { key: 'openbanking.accounts.sync', version: '1.0.0' },
    				},
    				requiredIntegrations: ['primaryOpenBanking'],
    				requiredCapabilities: [ACCOUNT_CAPABILITY],
    				retry: {
    					maxAttempts: 3,
    					backoff: 'exponential',
    					delayMs: 1_000,
    				},
    			},
    			{
    				id: 'fetch-accounts',
    				type: 'automation',
    				label: 'Fetch Accounts',
    				description:
    					'Retrieve the latest canonical account snapshot for downstream consumers.',
    				action: {
    					operation: { key: 'openbanking.accounts.list', version: '1.0.0' },
    				},
    				requiredIntegrations: ['primaryOpenBanking'],
    				requiredCapabilities: [ACCOUNT_CAPABILITY],
    				retry: {
    					maxAttempts: 2,
    					backoff: 'linear',
    					delayMs: 750,
    				},
    			},
    		],
    		transitions: [{ from: 'sync-accounts', to: 'fetch-accounts' }],
    	},
    });