How do I send a custom HTTP response from a workflow step?

Nghia Nguyen : you can also respond with HTML if you want, per Dylan’s example:

$respond({
  status: 200,
  headers: {
    "Content-Type": "text/html; charset=UTF-8"
  },
  body: `<html><h1>Hi, ${name}</html>`,
})