ActiveProspect partners with Sailthru to offer the User and Send Endpoints of their Sailthru API directly through LeadConduit.
Sailthru can be found in the list of Recipient integrations. 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)
Interpreting Results
A success is when the HTTP response is equal to 200 AND the profile data is returned in JSON format.
A failure is when 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 Get User / Save User is as follows:
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
Interpreting Results
A success is when 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.
A failure is when 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.
Comments
0 comments
Please sign in to leave a comment.