Megadesk Documentation

Setting up the contact form

Add a structured contact form to any page on your website. Submissions go straight to your shared inbox as tickets with full customer context.

Go to Settings > Contact forms and copy the embed code. Paste it wherever you want the form to appear:

<div id="contact-form-YOUR_TENANT_ID"></div>
<script
  src="https://getmegadesk.com/contact-form-embed.js"
  data-pub="YOUR_TENANT_ID"
  data-container="contact-form-YOUR_TENANT_ID"
></script>

Inboxes and custom fields

The form automatically shows an inbox selector if you have created inboxes under Settings > Inboxes. When a visitor picks an inbox, any required fields defined for that inbox appear in the form — for example an order number or issue description.

What happens after submission

When a visitor submits the form:

  1. A ticket is created in your shared inbox.
  2. Your team receives a notification.
  3. The visitor receives a confirmation email with a reference number.

You can then reply to the ticket from the inbox and the visitor will receive your reply by email and from there a link to a live chat.