Case Study

How Loopcraft Cut Bot Deployment Time by 94%

For a B2B SaaS managing complex project workflows, moving from scattered cron scripts to a centralized BotMatrix pipeline drastically reduced technical debt and improved reliability.

"BotMatrix didn't just replace our scripts; it gave us a system of record for our automation. We finally know exactly what our bots are doing, why they're doing it, and how long it takes."
— Sarah Jenkins, CTO, Loopcraft

The Challenge

Loopcraft provides project management tools for design teams. Like many B2B SaaS companies, they relied on a patchwork of independent cron scripts to handle onboarding, reporting, and data synchronization.

By late 2023, the infrastructure had become brittle. They maintained 11 independent cron jobs with no centralized logging. If a job failed silently, users often didn't notice until days later, making debugging a nightmare.

The deployment process was equally painful. Introducing a new automation feature required manually editing configuration files, redeploying cron daemons, and testing in production. A single bot update took an estimated 2 weeks from conception to launch.

Loopcraft engineers reviewing complex cron schedules on a whiteboard

The Solution

BotMatrix pipeline editor showing a clean visual workflow for Loopcraft's onboarding bot

Loopcraft migrated their automation infrastructure to BotMatrix, replacing the cron-based model with event-driven pipelines triggered by Trigger Hub.

They consolidated their 11 scattered scripts into 5 unified pipelines:

  • // Onboarding Sync: Syncs new users to Slack and database on signup.
  • // Weekly Reporting: Aggregates design metrics and emails stakeholders.
  • // Invoice Processing: Validates Stripe payments and updates CRM.
  • // Lead Scoring: Enriches contact data from external APIs.
  • // Data Cleanup: Runs nightly archival tasks.

The team adopted the BotMatrix SDK for TypeScript to handle custom logic and integrated with their existing Intercom and Salesforce stacks via the Connector Library.

Measurable Results

94% Faster Deployment

New bot features now ship in less than a day, from code to production.

0 Silent Failures

Zero downtime incidents or unnoticed errors over the last 6 months.

3 Engineers Freed

The maintenance team now focuses on feature development rather than debugging legacy scripts.

85% Cost Reduction

Eliminated duplicate infrastructure and optimized LLM call routing.

Technical Deep Dive

The Pipeline Architecture

Loopcraft's primary pipeline, onboarding-sync, handles the initial user setup. It is triggered by a webhook from their authentication provider. The pipeline consists of three main nodes:

const pipeline = new Pipeline('onboarding-sync');

await pipeline.onEvent('user.created')

  // 1. Enrich user data via OpenAI API
  .addNode(new LLMNode({
    model: 'gpt-4o-mini',
    prompt: 'Extract company size and role from bio...'
  }))

  // 2. Route to Slack or Email based on region
  .addNode(new ConditionalNode(routeByRegion))
    .then('slack', new SlackConnector())
    .then('email', new EmailConnector())

  // 3. Log completion and update CRM
  .onSuccess(new HTTPNode({ url: '/api/internal/track' }));

pipeline.deploy();

By using the ConditionalNode, Loopcraft avoided creating separate pipelines for every region. The routing logic is centralized and testable, ensuring consistency across their global user base.

What's Next?

Loopcraft plans to expand its automation footprint significantly in Q3. The engineering team is currently building a dedicated Customer Support Bot to handle tier-1 ticket triage, using BotMatrix's LLM routing to switch between rule-based responses and generative AI assistance based on ticket complexity.

FinServe

How FinServe automated 5,000+ daily compliance checks using BotMatrix's observability stack.

Read Case Study

HealthStream

Reducing patient wait times by 30% with event-driven intake bots.

Read Case Study

LogiTrack

Scaling logistics routing logic from 10 to 1,000 bots without increasing headcount.

Read Case Study

Ready to ship
smarter?

Join 40,000+ engineers using BotMatrix to build reliable, observable pipelines.