Skip to content

Cookbook: Support bot sends an MSA

Use @doctransit/sdk inside your support agent:

  1. Map ticket → customer email + MSA template
  2. createDocument({ template_id, signers, send: true })
  3. Post signers[0].sign_url back into the ticket
  4. Subscribe to document.completed to close the ticket automatically