GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - docufluidlabs/baton-core: Self-hostable webhook → Docusign Workflow Builder automation: verified events from Salesforce, HubSpot & more launch your Docusign workflows. Visual flow builder, bulk CSV upload, fair-code.

BranchesTags
Open more actions menu

Latest commit

 

History

64 Commits
64 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
baton-front
baton-front
 
 
baton
baton
 
 
docs
docs
 
 
.gitignore
.gitignore
 
 
.gitleaks.toml
.gitleaks.toml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
UPGRADING.md
UPGRADING.md
 
 
docker-compose.prod.yml
docker-compose.prod.yml
 
 
docker-compose.yml
docker-compose.yml
 
 

Repository files navigation

Baton

Baton

Self-hostable webhook → Docusign Workflow Builder automation.
Listen to the platforms you already use, verify every event, and launch the matching Docusign workflow - with a visual canvas to build, watch, and fix every automation.

CI CodeQL License: Sustainable Use (fair-code) Latest release

Quickstart · Production deploy · Security review · Upgrading · Contributing · Releases

The Flow Builder canvas: platforms, automations with live run counts, and Docusign workflows

Baton is maintained by Fluidlabs under the fair-code Sustainable Use License: free to self-host, modify, and use for your own business. Everything runs in your environment - your AWS account, your data, no telemetry.

Why Baton

  • Visual Flow Builder - a live canvas of platform → automation → workflow with per-automation relay counts, logs, and inline editing
  • Bulk Upload - launch a workflow for every row of a CSV, XLSX, or TSV file: map columns to workflow inputs, throttle the release rate, run files concurrently, and track every row to its instance
  • Control Center - every failed workflow run in one queue: retry, cancel, postpone; automations auto-pause when their failure rate spikes
  • Verified ingress - signed sources are checked with HMAC signatures (constant-time) or Basic Auth and fail closed; platforms that cannot sign use per-rule secret URLs; secrets are stored encrypted (AES-256-GCM)
  • Async pipeline - webhooks are stored idempotently, queued to SQS, and processed by workers with retries and dead-letter queues
  • Self-contained auth - first-run owner setup, email/password sessions, copyable invite links (no SMTP), owner/admin/member/viewer roles - no external auth or billing service
  • Notifications - in-app and Slack (optional email via Resend), with per-user preferences
  • Docs built in - a full documentation site ships inside the app at /docs
Workflow Checker - sync & test Docusign workflows Control Center - fix everything, leave with zeros
Workflow Checker Control Center

How it works

flowchart LR
    P["Salesforce · HubSpot · Zendesk<br/>Smartsheet · Airtable · CSV uploads …"] -- "signed webhooks" --> V["Verify<br/>HMAC / Basic Auth, fail-closed"]
    V --> R["Rules engine<br/>conditions + field mapping"]
    R --> Q[["SQS workers<br/>retries · DLQ · auto-pause"]]
    Q -- "launch" --> D["Docusign<br/>Workflow Builder"]
    F["Flow Builder UI<br/>build · watch · fix"] -.-> R
Loading
Package Description Port
baton/ Express + TypeScript API, SQS workers, rule engine 3001
baton-front/ React 18 + Vite SPA (flow builder, control center, docs) 3002 (dev) / 80 (Docker)

Supported platforms

Destination: Docusign Workflow Builder (OAuth).

Sources: Salesforce, HubSpot, Zoho CRM, Zendesk, BambooHR, Microsoft Power Automate, Smartsheet, Airtable, Greenhouse, monday.com - plus custom POST webhooks for any system that can send JSON.

Adding a platform is one connector class + one catalog entry - see CONTRIBUTING.md.

Quickstart (Docker)

Prerequisites: Docker with Compose. No accounts, no license keys, no host-side Node.

git clone https://github.com/docufluidlabs/baton-core.git
cd baton-core
cp baton/.env.example baton/.env

# generate the two secrets Baton needs
# (paste the values into baton/.env as TOKEN_ENCRYPTION_KEY and AUTH_JWT_SECRET)
openssl rand -hex 32
openssl rand -hex 32

docker compose up -d   # pulls the published images; add --build to build from source

Open http://localhost - the first boot creates all DynamoDB tables and SQS queues automatically in the bundled local emulators (DynamoDB Local + ElasticMQ - free, no accounts), and the first visit walks you through creating your organization and owner account.

Signing in, the guided Docusign setup, and the built-in docs

To receive real webhooks from external platforms, expose the app on a public URL (reverse proxy or tunnel) and set APP_URL/API_URL accordingly. To launch real workflows, add your Docusign developer app credentials - the in-app guided setup walks through every field (the defaults point at Docusign's free developer sandbox).

Updating

Releases follow semver: patch = fixes, minor = backward-compatible features, major = action required (called out in the release notes). Pin the version in a root-level .env next to docker-compose.yml:

echo "BATON_VERSION=1.0.2" > .env
docker compose pull && docker compose up -d

Upgrades never touch your data - it lives in your DynamoDB (or the dynamodb-data volume) and baton/.env. New tables and queues are created automatically on boot. Full guide: UPGRADING.md.

Deploying on AWS

The quickstart runs on free local emulators for evaluation. For production, follow docs/deploy-production.md: CloudFormation stacks for the tables/queues/IAM (in baton/infrastructure/, generated from the app's own schema), the pull-only docker-compose.prod.yml, TLS, backups, and upgrades.

Security teams: start at docs/security-review.md - the complete outbound-connection inventory, crypto details, auth model, and commands to verify every claim yourself.

Tech stack

Node 20 + Express + TypeScript · DynamoDB + SQS (AWS, or local emulators for evaluation) · React 18 + Vite + Tailwind · ReactFlow canvas · Vitest + Playwright · Pino logging · Helmet + per-IP rate limiting

Local development

See CONTRIBUTING.md for the dev-server setup, test commands, and the connector-contribution guide. Detailed environment reference: baton/docs/SETUP.md.

License & hosted edition

This repository is licensed under the Sustainable Use License (fair-code): use it freely inside your business; don't resell it as a hosted service. The Salesforce package works against any Baton instance, self-hosted or cloud. Fluidlabs also offers a managed cloud edition with multi-org management, SSO, and support - the core you see here is the same engine.

Security reports: see SECURITY.md. Questions & ideas: GitHub Discussions.

About

Self-hostable webhook → Docusign Workflow Builder automation: verified events from Salesforce, HubSpot & more launch your Docusign workflows. Visual flow builder, bulk CSV upload, fair-code.

iambaton.com

Topics

dockerdocusignfair-codehubspotsalesforceself-hostedtypescriptwebhooksworkflow-automationworkflow-builder

Resources

Readme
License

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.