How do I display checklists or tables in emails?

Modified on Tue, 5 May at 11:34 AM

How do I display checklists or tables in emails?

Show inspection reports, service records, or customer inputs inside emails using Hubhus checklist placeholders. Choose from a simple built-in summary or render a fully custom HTML table from the submitted data.

TL;DR

Easiest: insert hh-checklist.table-summary slug="your-checklist" for an automatic visual summary. For custom layout: use @foreach($lead->checklist_slug as $entry) to loop through submissions and build your own HTML table.

3 methods

1

Built-in table summary (easiest)

Insert the placeholder using CTRL+K — search "checklist table". This renders the latest submission as a formatted table automatically.

<hh-checklist.table-summary slug="your-checklist-slug" />
2

Individual field placeholders

Access individual checklist fields from the most recent submission using named placeholders. Find them via CTRL+K → "checklist".

{{checklist_your-checklist.field_name}}
3

Custom HTML table with @foreach loop

For full control over layout — loop through all submissions and build a custom table. Good for inspection reports or order summaries.

<table>
@foreach($lead->checklist_your-checklist as $entry)
  <tr>
    <td>{{$entry['label']}}</td>
    <td>{{$entry['value']}}</td>
  </tr>
@endforeach
</table>
Read more

Show only the latest submission

When a checklist can be submitted multiple times, use $lead->checklist_slug.last or the latest-index filter to only show the most recent entry, instead of all historical submissions.

Troubleshooting

  • Table appears empty: confirm the checklist was actually submitted before the email was sent. The trigger must fire after submission.
  • @foreach loop prints nothing: check that the checklist slug is correct and that the lead has at least one submission. Test with a real lead in the template editor preview.
  • Images in checklist not showing: ensure images are stored with absolute URLs. Relative paths don't work in email clients.

Common searches

checklist in email • hh-checklist table-summary • @foreach checklist • checklist email table • inspection report email

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article