A support desk next to the accounts it's about.
Give an inbox a public form and a way to reply, and support requests land beside the customer's record and the actions you can take on it. Replies go out through your app, with the email provider you already use, and answers come back onto the same ticket.
Tickets with a clock on them
A form for customers built from your schema, a response time for every ticket, and replies your app sends from your own domain.
export const support = inbox("support", {
intake: { title: "Contact us" },
sla: { open: "4h" },
reply: {
to: (item) => item.data.email,
send: ({ to, subject, text }) =>
resend.emails.send({ from: "help@acme.com", to, subject, text }),
},
})Can't invite my teammate
Support · due in 40m
Lena wrote back
The invite button still does nothing for me.
Answers land back in the thread
Hand inbound mail to Pult and it joins the right ticket, reopens it if it was closed and tells whoever has it. Anything new becomes a ticket of its own.
app.post("/webhooks/inbound-email", async (c) => {
const { to, from, subject, text } = await c.req.json()
const thread = /\+([a-z0-9]+)@/.exec(to)?.[1]
const received = thread && (await pult.receive({ thread, from, subject, text }))
if (!received) {
await pult.send(support, { data: { email: from, subject, body: text } })
}
return c.body(null, 204)
})What comes with it
- Due dates that mean something
- Response times per state, lists sorted by what's due, and a notification when something goes overdue.
- The account, right there
- Each ticket links to the customer's record, with their details and the actions your team can run on it.
- Notes for the team
- Write notes beside the conversation and mention a teammate to pull them in.
- Sorted before anyone looks
- Triage can tag a ticket and move it, with rules you write and switch on once they've proven themselves.
What it replaces
A shared mailbox, a help desk that knows nothing about your accounts, and the copying back and forth between the two.
Read how replies and email work