Follow

Sailthru

ActiveProspect partners with Sailthru to offer the User and Send Endpoints of their API directly through LeadConduit.

Sailthru can be found in the list of Deliveries. Once added to the flow, you must choose one of three options:

  • Save User
  • Get User
  • Send

 

Save User (Create/Update)

User Save will create a new entry or update an existing entry in Sailthru.

Required Configuration

  • Sailthru API Key
  • Sailthru API Secret

Required Lead Fields

  • email - User's Email Address

Optional Lead Fields

  • Custom Fields

Optional Mapped Data

  • sid - The default, Sailthru-specified identifier for a user's profile
  • extid – A unique, user-specified identifier for a user's profile (only available if you enable extid lookup)
  • sms – The user's SMS number (only available if you enable SMS)

Get User

Get User will retrieve information for an existing entry in Sailthru.

Required Configuration

  • Sailthru API Key
  • Sailthru API Secret

Required Lead Fields (One of the following)

  • email - User's Email Address used as the profile key
  • sid - The default, Sailthru-specified identifier for a user's profile
  • extid – A unique, user-specified identifier for a user's profile (only available if you enable extid lookup)
  • sms – The user's SMS number (only available if you enable SMS)

What constitutes a Success?

The HTTP response is equal to 200 AND the profile data is returned in JSON format.

What constitutes a Failure?

The HTTP response is equal to 200 OR 400 AND an error field is present.

Making a Decision

A filter or filters must be added after the step in order to make any decision based on the data returned.

In addition to the basic Success / Failure determination, the service and also returns an error code for any failures. A full list of error codes and their corresponding reasons area available in Sailthru's API documentation

The basic recommended filter for Save User is as follows:

screencapture-next-leadconduit-flows-5a1de11fb75b0d6c67000000-edit-steps-1511974200380.png

The basic recommended filter for Get User is as follows:

screencapture-next-leadconduit-flows-5a1de11fb75b0d6c67000000-edit-steps-1511974250869.png

Send

Send will trigger an email send using a template defined in Sailthru.

Required Configuration

  • Sailthru API Key
  • Sailthru API Secret
  • Sailthru Template

Required Lead Fields

  • email - User's Email Address

What constitutes a Success?

The HTTP response is equal to 200 AND the response resembles this example:

{
  "email" : "user@example.com",
  "send_id" : "WGrLf25K3Fwzi4ry",
  "template" : "Product Alert",
  "status" : "unknown",
  "send_key" : null
}

You'll notice status is unknown and send_key is null. This is because Sailthru is acknowledging receipt of the email, but has not yet attempted delivery of the email.

What constitutes a Failure?

The HTTP response is equal to 200 OR 400 AND an error field is present.

Making a Decision

A filter or filters must be added after the step in order to make any decision based on the data returned.

In addition to the basic Success / Failure determination, the service and also returns an error code for any failures. A full list of error codes and their corresponding reasons area available in Sailthru's API documentation

The basic recommended filter for Send is as follows:

screencapture-next-leadconduit-flows-5a1de11fb75b0d6c67000000-edit-steps-1511974290831.png

 

 

//--//

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

You must be logged in to comment.