Defining a Workflow

Syntax

You can create a simple workflow by using the following yaml syntax.

version: 1
name: Send Money to Vendor via BiFast

inputs:
  amount:
    type: number
    required: true

jobs:
  send_money_from_paymongo_wallet:
    integration: "paymongo"
    account: 506285930632
    steps:
      - uses: bifast
        amount: $input.amount
        currency: "IDR"
        destination: $contacts.get_contacts_by_name("vendor_1").bca
        purpose: 02
        notes: "Disbursement"