Create Draft Message

Use the Front - Create Draft Message step to create a draft outgoing message in Front. The draft message will be assigned to a specific front user and can be set to be visible for the entire team or made private.

Inputs

Connection

Select a connection that contains the passwords or keys that are needed to access a specific Front instance. Since users can not enter secret information directly into the step input, a connection must be created in advance. Generally, connections are created by Administrators or IT Staff who have access to the necessary credentials.

Channel Name

This must be the name of one of the channels in the team that will have access to the draft message. The chosen channel will determine which team has access.

Sender Email Address

This is the email address of a "team mate" that has access to the channel. The created draft message will belong to this team mate. If the message is private, only this person will be able to access it.

Recipients (Must be a List)

This is an optional LIST of recipients of the draft message. It must be a list of email addresses - this is accomplished with [] brackets surrounding quoted text separated by commas. EG: ['tom@acme.com', 'jeff@acme.com'] If left blank then the draft will have no recipient and the user will have to fill in the recipient in Front before the message can be sent.

CC (Must be a List)

This is an optional LIST of recipients who will be on CC for the draft message. It must be a list of email addresses. If left blank then the draft will have no one on CC.

BCC (Must be a List)

This is an optional LIST of recipients who will be on BCC for the draft message. It must be a list of email addresses. If left blank then the draft will have no one on BCC.

Subject

The Subject Line that will be inserted in the draft message. If omitted then the subject line of the draft message will be blank.

Message Body

The body that will be inserted in the draft message. Plain text and HTML markup are both accepted in this input but note that plain text does not support any line breaks. HTML is preferred for all but the simplest messages. For example:

'''<p>Hello</p><p>This is the second line in my email</p><p>Have a great day!</p>'''

There are lots of online HTML editors that can help (like this one) - remember that if there are any quotes in your HTML you can wrap the whole string in three single quotes (''') to make sure that everything will work correctly (see the example above)

Private

This determines whether the draft message can be seen only by the Sender or if it can be seen by the entire team. It is a Boolean value and can be set to True or False (do not quote these if typed directly into the input)

Draft messages will be available to Front users in the "Drafts" folder, just under the inbox.

Outputs

success

This will be True if a draft message was successfully created and False if one was not. messageID The Front ID of the message that was created. This information can be used to further interact with the message in subsequent steps of a Journey.

success

This will be True if a draft message was successfully created and False if one was not. messageID The Front ID of the message that was created. This information can be used to further interact with the message in subsequent steps of a Journey.

Last updated