Skip to main content

Webhooks & Automation

Configure webhook endpoints to receive real-time notifications, schedule automated jobs, and build custom workflows

Webhook Endpoints

Configure your webhook endpoints to receive real-time event notifications from BankLingo. Get instant alerts when transactions complete, accounts change, or workflows reach specific states.

  • Real-time event delivery
  • Configurable retry logic
  • Event filtering and subscriptions
  • Secure payload signing
  • Delivery status monitoring

Recurring Jobs

Set up scheduled jobs that run automatically at specified intervals. Trigger process workflows, execute command chains, or run custom business logic on a schedule.

  • Cron-based scheduling
  • Trigger process workflows
  • Execute command chains
  • Custom time intervals
  • Job execution history

Custom Code Expressions

Build command chains with custom code expressions to implement complex business logic. Chain multiple commands together and add custom validation, calculations, or data transformations.

  • JavaScript-based expressions
  • Access to context data
  • Custom validation rules
  • Data transformation logic
  • Error handling and retries

Common Use Cases

Webhook Scenarios

  • Receive notifications when customers are created
  • Get alerted on transaction completions or failures
  • Push events to your CRM or analytics platform
  • Trigger external workflows on account status changes

Recurring Job Scenarios

  • Daily end-of-day reconciliation processes
  • Monthly interest calculation and posting
  • Weekly loan payment reminders
  • Hourly transaction monitoring and alerts

Custom Code Scenarios

  • Complex loan eligibility calculations
  • Custom fee computation logic
  • Risk scoring algorithms
  • Business-specific validation rules

Quick Setup Example

// 1. Register your webhook endpoint to receive notifications
POST
/api/webhooks/register
{
  "event": "transaction.completed",
  "url": "https://your-system.com/receive-webhook",  // Your endpoint
  "secret": "your-webhook-secret",
  "retryPolicy": {
    "maxRetries": 3,
    "retryDelay": "5m"
  }
}
→ BankLingo will POST events to your endpoint
// 2. Create a recurring job
POST
/api/jobs/create
{
  "name": "Daily EOD Process",
  "schedule": "0 23 * * *",  // Every day at 11 PM
  "action": {
    "type": "triggerProcess",
    "processId": "eod-reconciliation"
  }
}
// 3. Define command chain with custom code
POST
/api/commands/chain
{
  "commands": [
    { "type": "ValidateAccount" },
    {
      "type": "CustomExpression",
      "code": "context.amount * 0.05",  // Calculate 5% fee
      "output": "calculatedFee"
    },
    { "type": "DebitAccount" }
  ]
}

Ready to Automate?

Explore our automation capabilities and start building powerful integrations

View API Documentation Book a Demo