Skip to main content
Every reply sent from an email address connected to OpenCX, whether the AI or a teammate wrote it, is wrapped in that address’s HTML template. The template is also where the signature goes: its variables fill in the teammate who replied, so each agent signs their own emails from one shared layout.

Where to edit it

  • Template: open the address under Channels → Email. The editor lists every variable and previews the result with sample values. You can also ask the Companion to write it, or use the email channels API.
  • Each teammate’s job title: set by the teammate in Settings → My Profile, or by an admin from the edit dialog on the Members page.
  • Work phone and Profile link are optional. Each teammate can save them in Settings → My Profile for this workspace. The link can point to any HTTPS professional profile.
Without a custom template, OpenCX uses a simple default layout.

Variables

The agent_* variables are empty while only the AI has handled a session. Wrap a personal sign-off in a condition, or AI replies will end with a blank name line.

Sign each reply as the agent

Conditions support {{#if …}}, {{elseif …}}, {{else}} and {{/if}}, with ==, !=, &&, || and !, for example {{#if session.language == "ar"}}.

Show the agent’s name as the sender

Customers normally see the address’s Sender name as the sender of every email. A teammate can turn on Send emails under your name in Settings → Personalization, and the emails they send then show their name first: The email address stays the same, and so does the template. Because the teammate’s name is followed by “from” and your Sender name, set a Sender name that reads well after “from”, such as your company name. An address with no Sender name uses your workspace name.

Tips

  • Use tables and inline style attributes for layout; many mail clients ignore <style> blocks.
  • Host logos and images at a public URL rather than embedding them; many mail clients block embedded images.
  • Saving a template applies to the next reply from that address. Send yourself a test reply to check it in a real mail client.