TraceAvatar
Menu

Case study

Built with TraceAvatar: SpeedyMessaging

SpeedyMessaging added guides with 2 script tags and a list of guides: no SDK, no build step. New customers get from sign-up to their first message with a guide on each page, and the docs' GIFs are made by the build.
script tags to install
2
guides, in a launcher on their pages
7
of them can Do it for me
5
docs GIF made by the build
1

Counted from SpeedyMessaging's code, not estimated. SpeedyMessaging is an SMS, WhatsApp and OTP dashboard (Vite + React), a HelloWorld Technologies product, like TraceAvatar.

The problem

A long first day, and docs pictures that drift

A new customer has to buy credits, register a sender ID and send a first message, on three different pages, before anything works. And the docs showed dashboard screenshots that were out of date after each release.

What SpeedyMessaging did

Each clip is the real app, recorded by TraceAvatar's own renderer on a demo account.
  1. 1

    One tag, any front end

    trace-auto (trace-avatar 0.1.14) and a small mount.js go in index.html. The launcher lists the guides for the page; ?trace= links play one, and wait through sign-in.
    The install is one script tag.
  2. 2

    Sign-up to the first message

    Buy credits, register a sender ID, send your first SMS: each page has its own short guide in the launcher.
    From sign-up to the first message: a guide for every page, from one tag.
  3. 3

    Do it for me for the fiddly parts

    Adding WhatsApp is done in front of the customer; anything that sends or pays stays with them.
    SpeedyMessaging: add the WhatsApp product to your dashboard.
  4. 4

    Support replies with a link

    The support desk sends a guide link instead of numbered steps; it plays on the customer's own dashboard.
    Support on SpeedyMessaging: the reply is a link, and the guide plays on the customer’s own dashboard.
  5. 5

    Docs GIFs made by the build

    npm run docs:gifs plays a guide on the demo dashboard and writes the GIF on the OTP docs page. When the dashboard changes, the guide stalls and the build fails.
    The docs image is build output: rendered from the dashboard by playing a guide.
  6. 6

    Save as video, for staff

    Staff admins can save any guide as a GIF from the browser: it plays from step one and downloads. Nothing leaves the browser.
    Save as video: the GIF is made in the browser, from the guide playing.

The code

Copied from SpeedyMessaging's repo as it is, not rewritten for this page.
The install: two script tags in index.html
<!-- Guides (trace-avatar, docs/TRACE_AVATAR_SHOWCASE.md §11): the launcher, ?trace= links, and the studio for
     staff admins. The version is pinned; guides/mount.js mounts it with public/guides/index.json. -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/trace-auto.min.js" defer></script>
<script src="/guides/mount.js" defer></script>

speedysms-web/index.html:118-121

The mount: guides, Do it for me, sign-in, and recording for staff
window.speedyGuides = A.mount({
  guides: '/guides/index.json',
  perform: true,
  prepare: function (requires) {
    if (requires.indexOf('signed-in') >= 0 && !signedIn()) return { ok: false, say: 'Sign in first, then the guide carries on.' };
    return true;
  },
  record: { allowed: isAdmin, requires: ['signed-in'] },
});

speedysms-web/public/guides/mount.js:28-36

Docs GIFs, made by the build (npm run docs:gifs)
{
  "gifs": [
    {
      "guide": "integrate-otp",
      "out": "public/docs/media/integrate-otp.gif",
      "docs": "src/pages/docs/DocsOtpPage.tsx",
      "alt": "The OTP Integrate page in the dashboard: the API snippets, the Node.js tab, then the Verify OTP call."
    }
  ]
}

speedysms-web/demo/docs-gifs.json

We built SpeedyMessaging too. It is a different stack from DutyCaptain on purpose: if TraceAvatar works from two script tags here, it works on your app.
The SpeedyMessaging team (that's us, the makers of TraceAvatar)

Another app, built differently: Built with TraceAvatar: DutyCaptain →

Try it on your app, free

Open source and free to try, always. Or we make the videos for you.