Explore Plans
Mobile menu Close menu
DripDrip

Record an event

This action will record an event for a subscriber.

Developer info

API endpoint slug
drip.record_event
Filter code method
Drip.recordEvent.skip(string?: reason)
Runtime method
runAction("drip.record_event", {})

Action fields

Email Text input > Other

Label
Email
Helper text
The subscriber's email address.
Slug
email
Required
true
Can have default value
true
Filter code method
Drip.recordEvent.setEmail(string: email)

Action Text input > Other

Label
Action
Helper text
The name of the action taken. E.g. "Logged in"
Slug
action
Required
true
Can have default value
true
Filter code method
Drip.recordEvent.setAction(string: action)

Property1key Text input > Other

Label
Property1Key
Helper text
Optional. Add an event property (e.g. "trial_length", "amount").
Slug
property1key
Required
false
Can have default value
true
Filter code method
Drip.recordEvent.setProperty1key(string: property1key)

Property1value Text input > Other

Label
Property1Value
Helper text
Optional. The value of the first property.
Slug
property1value
Required
false
Can have default value
true
Filter code method
Drip.recordEvent.setProperty1value(string: property1value)

Property2key Text input > Other

Label
Property2Key
Helper text
Optional. Add an event property (e.g. "trial_length", "amount").
Slug
property2key
Required
false
Can have default value
true
Filter code method
Drip.recordEvent.setProperty2key(string: property2key)

Property2value Text input > Other

Label
Property2Value
Helper text
Optional. The value of the second property.
Slug
property2value
Required
false
Can have default value
true
Filter code method
Drip.recordEvent.setProperty2value(string: property2value)

Property3key Text input > Other

Label
Property3Key
Helper text
Optional. Add an event property (e.g. "trial_length", "amount").
Slug
property3key
Required
false
Can have default value
true
Filter code method
Drip.recordEvent.setProperty3key(string: property3key)

Property3value Text input > Other

Label
Property3Value
Helper text
Optional. The value of the third property.
Slug
property3value
Required
false
Can have default value
true
Filter code method
Drip.recordEvent.setProperty3value(string: property3value)

Prospect Dropdown list

Label
Prospect
Helper text
Optional. If Yes, attaches a lead score to the subscriber (when lead scoring is enabled). Defaults to Yes.
Slug
prospect
Required
false
Can have default value
true
Filter code method
Drip.recordEvent.setProspect(string: prospect)

Occurred at Text input > ISO 8601 date and time

Label
OccurredAt
Helper text
Optional. The time at which the event occurred in ISO-8601 format. Defaults to the current time if left blank.
Slug
occurred_at
Required
false
Can have default value
true
Filter code method
Drip.recordEvent.setOccurredAt(string: occurredAt)