Bamboo.CustomerIOHelper (customer.io Bamboo Adapter v0.0.3)

View Source

Functions to attach data for CustomerIO

Summary

Functions

Add a transactional variables trigger data.

Set the transactional message customer CIO identifier.

Set the transactional message customer email identifier.

Set the transactional message customer ID identifier.

Set the transactional message ID to use for the email contents.

Functions

add_var(email, key, value)

Add a transactional variables trigger data.

This is used to customize an email and fill variables in the template.

Example

email
|> put_var("name", "Justin")

put_identifiers_cio(email, cio)

Set the transactional message customer CIO identifier.

Example

email
|> identifiers_cio("12345")

put_identifiers_email(email, address)

Set the transactional message customer email identifier.

Example

email
|> identifiers_email("me@jtsmills.com")

put_identifiers_id(email, id)

Set the transactional message customer ID identifier.

Example

email
|> identifiers_id("1234")

put_message_id(email, message_id)

Set the transactional message ID to use for the email contents.

Example

email
|> message_id("2")