Hull is now part of MessageBird and is no longer accepting new customers on Hull.io. Please check out MessageBird's suite of products at messagebird.com

  • Guides
    • Getting Started: Sending data to Hull
    • Building Segments
    • Transforming and enriching data
    • Unifying Data
    • Sending data to Connectors
    • Setup Data Flows
    • Advanced usage: Operating Hull
    • View all Guides
  • Concepts
    • Users
    • Accounts
    • Events
    • Connectors
    • Segments
    • Ingestion
    • Compute
    • Notify
  • Reference
    • Hull.js
    • Building Connectors
    • Identity Resolution with Claims
    • HTTP API
    • Node Client Guide
    • Node Client Reference
  • Connectors
    • Salesforce
    • Processor
    • Segment
    • Sql Importer
    • Incoming Webhooks
    • View all connectors
  • DashboardSign in

Code gallery

Back to Docs Home

Processor
11 articles


Compute Event Count

Count the total number of times an event has occured for a user

Simple Scoring

An example of computing a score based on user attributes and actions

Emit a new event

This snippet emits a new event when something changes in Hull. This allows you to emit milestone events to external services.

Emit "Lead Captured" event

Generates a Milestone event called "Lead Capture" when people click in Facebook Lead Ads

Field Mapping

Map one field to another place, to build a set of unified attributes.

Stamp Account attribute

Takes the value of a user Event to write it at the account level. Any user in the account, when they perform "my_event" will update the value at the account level

Count Matching entries

We want to find the account expansion potential quickly.

Count technologies in Datanyze Technologies array which match our existing public connectors.

Return as a new integer property: matching_technologies

Tag Users

Applies a category tag on the user based on them belonging to one or more segments

Consolidate Subscription Status values

Aggregates the subscription status of several marketing services to compute a unified "unsubscribed" status

Categorize NPS respondents

Returns the category of the customer based on the NPS score they returned.

Store Attribute based on an Event

Events are great for tracking user's interactions with different tools. They are also useful to trigger actions, but if they carry important information about user lifecycle, then it's usually better to capture that information as attributes.