Workflows and PDFs

Trigger a Tadabase workflow or generate a PDF from your Vibe app.

  • 4 min read
On this page
  1. Triggering a workflow
  2. Generating a PDF

Triggering a workflow #

Tadabase workflows are the right place for multi-step logic — sending email, calling external APIs, updating multiple records atomically. Vibe triggers them by workflow ID, optionally scoped to a record. The run is queued; poll for status.

JavaScript
// Run a workflow on one record
const res = await tada.workflows.trigger(workflowId, recordId);
const queueId = res.data?.queue_id;

// Poll until it finishes
const status = await tada.workflows.runStatus(workflowId, queueId);

// Or use the all-in-one helper with live progress:
tada.workflows.run(workflowId, { onDone: (r) => console.log(r) }, recordId);

Generating a PDF #

Render a builder-defined PDF Page (designed) or PDF Form (fillable). Pass the record id when the design references record data. Choose "base64" to receive the raw bytes inline, or "url" (default) for a hosted CDN link.

JavaScript
const res = await tada.pdfs.generatePage(pdfPageId, invoiceId, 'base64');

// res.data.pdf_base64  — raw bytes (file_format: 'base64')
// res.data.pdf_url     — hosted link  (file_format: 'url', the default)

Skip the docs.Just describe it.

Tadabase AI builds it, hosts it and keeps it running. Real backend, real domain, real app.

Plain English. It asks follow-up questions like a real developer.

  • Free plan, no card
  • Unlimited app users
  • Live on your own domain