render template

This block is part of the mailchimp group and was last modified in core v10.4.28.

Connection Type

This block connects from a mailchimptransactionalconnection type block. Make sure to connect this block to the appropriate left-hand side connection.

render template v10.4.28

Inject content and optionally merge fields into a template, returning the HTML that results.

In pins 4 + flow
  • flow
    flow
  • connection required
    mailchimptransactionalconnection
  • template name required
    value

    The immutable name of a template that exists in the user's account

  • template content required
    array

    An array of template content to render. It should be an array of objects containing name (string) and content (string)

  • merge vars
    array

    Optional merge variables to use for injecting merge field content. It should be an array of objects containing name (string) and content (string)

Out pins 4 + flow
  • flow
    flow
  • connection
    mailchimptransactionalconnection
  • success
    condition
  • error
    value
  • html
    value

A typical wiring for render template: a function trigger starts the flow; connect feeds the connection pin; value feeds the template_name pin; with values feeds the template_content pin; the flow out pin feeds debug.

Studio canvas example for the render template block: typical wiring for render template.

Version history

Introduced in v10.4.28.

Service documentation

External API reference This block wraps a third-party service. Click here for the service's own documentation of the underlying endpoint.
Back to mailchimp Return to the main group to view all sub-groups Back to mailchimp transactional Return to the group to view all blocks within this group