Skip to main content

Postmark Component

You can use the Postmark component to send emails to single or multiple recipients.

Connections

You need your Postmark-API-Key which is the Postmark API Key generated in your Postmark account to access dynamic email templates in Postmark.

Actions

The component has the following actions.

Configure Postmark Integrations

InputTypeDescription
EPCC Postmark ConnectionstringThe EPCC Postmark connection.
Postmark Integration Webhook URLstringThe webhook URl that is displayed in Integrations Hub when you activate the integration.
Postmark Event-MappingstringMapping of information between Commerce Manager and Postmark is done through a combination of event names and JSON values. See Configuring Event-Mapping Configurations.
Log LevelstringThe level of logging.
Webhook API KeystringThe webhook key that is displayed in Integrations Hub when you activate the integration.

Hash the Client Secret

InputTypeDescription
EPCC Postmark ConnectionThe EPCC Postmark connection.
Log LevelstringThe level of logging.

Output Example

Hydrate event mappings for the incoming event data

InputTypeDescription
Event JSONstringThe payload from the event. See Integration Payload.
Postmark Event-MappingstringMapping of information between Commerce Manager and Postmark is done through a combination of event names and JSON values. See Configuring Event-Mapping Configurations.
Log LevelstringThe level of logging.

Returns the templated emails to the caller without invoking Postmark

InputTypeDescription
Event configuration hydrated arraystringThe output of the applyEventMappingToEventAction action.
Log LevelstringThe level of logging.

Send a templated email via Postmark Email

InputTypeDescription
Event Configuration Hydrated ArraystringThe payload from the event. See Integration Payload.
Postmark API KeystringYour Postmark-API-Key which is the Postmark API Key generated in your Postmark account.
Log LevelstringThe level of logging.

Take action based on email result

InputTypeDescription
Error on FailbooleanAn error is returned when there is a failure in sending emails to recipients.
Log email errorsbooleanLog the errors that are returned when there is a failure in sending emails to recipients.
Postmark ResultsstringPostmark sends back results to the Postmark integration when emails are sent to recipients.
Log LevelstringThe level of logging.

Validate Event Mappings

InputTypeDescription
Postmark Event-MappingstringMapping of information between Commerce Manager and Postmark is done through a combination of event names and JSON values. See Configuring Event-Mapping Configurations.
Log LevelstringThe level of logging.