Mailcoach icon

Mailcoach

Interact with Mailcoach API - Manage email lists, subscribers, campaigns, and transactional emails

Transactional Mail → Get Templates

AI-generated

Summary

Retrieve transactional mail templates from the Mailcoach API, either all templates or a limited number based on user parameters.

Inputs

  • Return All — Boolean flag to indicate whether to return all templates or only up to the specified limit.
  • Limit — Maximum number of templates to return when 'Return All' is false (minimum 1, maximum 1000; default 100).

Output shape

a list of transactional mail template objects

If 'Return All' is set to false, the number of returned templates is limited by the 'Limit' parameter. Pagination details are handled internally by the node; the output is a flat list of templates.

Examples

Example 1: Get up to 100 transactional mail templates

Set 'Return All' to false and 'Limit' to 100 (default).

Example 2: Get all transactional mail templates regardless of count

Set 'Return All' to true.

Discussion