The Zeta (Boomtrain) API offers a suite of tools designed for predictive marketing and analytics. By leveraging machine learning and data science, it can help personalize user experiences and optimize marketing efforts. With this API on Pipedream, you can automate customer segmentation, execute targeted campaigns, and analyze customer behavior. The API's capabilities can be harnessed to create dynamic, responsive marketing workflows that react to user interactions in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
boomtrain: {
type: "app",
app: "boomtrain",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://events.api.boomtrain.com/events/recent/${this.boomtrain.$auth.site_id}`,
headers: {
Authorization: `Bearer ${this.boomtrain.$auth.id_token}`,
},
params: {
count: `10`,
},
})
},
})
Personalized Email Campaigns: Automate the sending of personalized emails by triggering a workflow on Pipedream whenever a user performs a specific action on your app. Use the Zeta API to segment users based on this behavior and other collected data points, then connect with an email service like SendGrid to dispatch tailored messages.
User Engagement Analysis: Capture events from your web or mobile platforms, send them to Zeta via Pipedream, and use Zeta’s analytics to score user engagement. Craft a workflow to process this data and connect with tools like Google Sheets or Airtable to visualize engagement levels and identify key patterns or segments for targeted follow-ups.
Real-time Recommendations: Integrate user actions from your e-commerce site to trigger workflows that communicate with the Zeta API, generating real-time product or content recommendations. These recommendations can then be sent to the user through a chatbot platform like Twilio or integrated directly back into the user's session on your site, enhancing the shopping experience.
Zeta (Boomtrain) uses OAuth authentication. When you connect your Zeta (Boomtrain) account, Pipedream will open a popup window where you can sign into Zeta (Boomtrain) and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Zeta (Boomtrain) API.
Pipedream requests the following authorization scopes when you connect your account:
openid
app_metadata
name
email
user_id
POST
https://boomtrain.auth0.com/oauth/ro
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
grant_type=password
&
username={{custom_fields.username}}
&
password={{custom_fields.password}}
&
connection=Username-Password-Authentication
&
scope={{oauth.space_separated_scopes}}
POST
https://boomtrain.auth0.com/oauth/ro
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
grant_type=password
&
username={{custom_fields.username}}
&
password={{custom_fields.password}}
&
connection=Username-Password-Authentication
&
scope={{oauth.space_separated_scopes}}