Fuel product growth and team agility. Heap automatically captures web and mobile app behavioral data. Retroactively analyze behavioral data without writing code.
Go to siteThe Heap API enables you to automate and integrate your user analytics data with other applications. With Heap, you can extract insights on how users interact with your product, track events without code, and funnel this data into your CRM, marketing tools, or custom dashboards. It's about connecting the dots between user actions and your strategic moves. Heap's API lets you push or pull data, so you're always up-to-date on user behavior and can personalize user experiences at scale.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
heap: {
type: "app",
app: "heap",
}
},
async run({steps, $}) {
// From the docs: https://docs.heap.io/reference#track-1
// "Requests are limited to 30 requests per 30 seconds per identity per app_id"
return await axios($, {
method: "POST",
url: `https://heapanalytics.com/api/track`,
headers: {
"Content-Type": "application/json",
},
data: {
app_id: this.heap.$auth.app_id,
identity: params.identity,
event: params.event,
timestamp: params.timestamp || (new Date()).toISOString(),
properties: params.properties,
}
})
},
})
Sync User Data to CRM: Automatically push user engagement metrics from Heap to your Customer Relationship Management (CRM) system. Keep sales informed with the latest user activity for better lead scoring and personalized follow-ups.
Trigger Email Campaigns Based on User Behavior: When Heap identifies a significant user action, like reaching a milestone in your app, use that signal to trigger an automated email campaign in a tool like SendGrid. Capitalize on user engagement at its peak to increase conversion rates.
Create Custom Dashboards with Google Sheets: Pull data from Heap into Google Sheets to build custom dashboards. Use this live data to make informed decisions and share analytics with stakeholders who may not have direct access to Heap or prefer data in a spreadsheet format.
Heap uses API keys for authentication. When you connect your Heap account, Pipedream securely stores the keys so you can easily authenticate to Heap APIs in both code and no-code steps.
Your Heap app ID is the number given to you by Heap when you first installed the app, found in your tracking code.