Explore Plans
Mobile menu Close menu
DripDrip

Create or update a subscriber

This action will create a new subscriber or update a subscriber.

Developer info

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

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.createOrUpdateSubscriber.setEmail(string: email)

New email Text input > Other

Label
New email for existing subscriber?
Helper text
Optional. Use only to change an existing subscriber's email to a new email address.
Slug
new_email
Required
false
Can have default value
true
Filter code method
Drip.createOrUpdateSubscriber.setNewEmail(string: newEmail)

First name Text input > Other

Label
First Name
Helper text
Optional. The subscriber's first name.
Slug
first_name
Required
false
Can have default value
true
Filter code method
Drip.createOrUpdateSubscriber.setFirstName(string: firstName)

Last name Text input > Other

Label
Last Name
Helper text
Optional. The subscriber's last name.
Slug
last_name
Required
false
Can have default value
true
Filter code method
Drip.createOrUpdateSubscriber.setLastName(string: lastName)

Phone Text input > Other

Label
Phone
Helper text
Optional. The subscriber's primary phone number.
Slug
phone
Required
false
Can have default value
true
Filter code method
Drip.createOrUpdateSubscriber.setPhone(string: phone)

Sms number Text input > Other

Label
SMS Number
Helper text
Optional. The subscriber's mobile phone number in E.164 formatting. E.g. "+16125551212". Only US-based numbers are supported at this time.
Slug
sms_number
Required
false
Can have default value
true
Filter code method
Drip.createOrUpdateSubscriber.setSmsNumber(string: smsNumber)

Address1 Text input > Other

Label
Address 1
Helper text
Optional. The subscriber's mailing address.
Slug
address1
Required
false
Can have default value
true
Filter code method
Drip.createOrUpdateSubscriber.setAddress1(string: address1)

Address2 Text input > Other

Label
Address 2
Helper text
Optional. An additional field for the subscriber's mailing address.
Slug
address2
Required
false
Can have default value
true
Filter code method
Drip.createOrUpdateSubscriber.setAddress2(string: address2)

City Text input > Other

Label
City
Helper text
Optional. The city, town, or village in which the subscriber resides.
Slug
city
Required
false
Can have default value
true
Filter code method
Drip.createOrUpdateSubscriber.setCity(string: city)

State Text input > Other

Label
State
Helper text
Optional. The state, province, or region in which the subscriber resides.
Slug
state
Required
false
Can have default value
true
Filter code method
Drip.createOrUpdateSubscriber.setState(string: state)

Country Text input > Other

Label
Country
Helper text
Optional. The country in which the subscriber resides.
Slug
country
Required
false
Can have default value
true
Filter code method
Drip.createOrUpdateSubscriber.setCountry(string: country)

Zip Text input > Other

Label
Zip Code
Helper text
Optional. The postal code in which the subscriber resides.
Slug
zip
Required
false
Can have default value
true
Filter code method
Drip.createOrUpdateSubscriber.setZip(string: zip)

Time zone Text input > Other

Label
Time Zone
Helper text
Optional. The subscriber's time zone (in Olson format). Defaults to Etc/UTC
Slug
time_zone
Required
false
Can have default value
true
Filter code method
Drip.createOrUpdateSubscriber.setTimeZone(string: timeZone)

Tags Text input > Other

Label
Tags
Helper text
Optional. Enter a tag or comma-separated list of tags to assign
Slug
tags
Required
false
Can have default value
true
Filter code method
Drip.createOrUpdateSubscriber.setTags(string: tags)

Status Text input > Other

Label
Status "active" or "unsubscribed"?
Helper text
Optional. Use only "active" or "unsubscribed" to specify the subscriber's status.
Slug
status
Required
false
Can have default value
true
Filter code method
Drip.createOrUpdateSubscriber.setStatus(string: status)

Custom fields 1 key Text input > Other

Label
Custom Field 1 Key
Helper text
Optional. Add or edit a custom field for the subscriber. Enter existing key or create a new one. Separate words by underscores (E.g. "shirt_size").
Slug
custom_fields_1_key
Required
false
Can have default value
true
Filter code method
Drip.createOrUpdateSubscriber.setCustomFields1Key(string: customFields1Key)

Custom fields 1 value Text input > Other

Label
Custom Field 1 Value
Helper text
Optional. The value for custom field 1.
Slug
custom_fields_1_value
Required
false
Can have default value
true
Filter code method
Drip.createOrUpdateSubscriber.setCustomFields1Value(string: customFields1Value)

Custom fields 2 key Text input > Other

Label
Custom Field 2 Key
Helper text
Optional. Add or edit a custom field for the subscriber. Enter existing key or create a new one. Separate words by underscores (E.g. "shirt_size").
Slug
custom_fields_2_key
Required
false
Can have default value
true
Filter code method
Drip.createOrUpdateSubscriber.setCustomFields2Key(string: customFields2Key)

Custom fields 2 value Text input > Other

Label
Custom Field 2 Value
Helper text
Optional. The value for custom field 2.
Slug
custom_fields_2_value
Required
false
Can have default value
true
Filter code method
Drip.createOrUpdateSubscriber.setCustomFields2Value(string: customFields2Value)

Custom fields 3 key Text input > Other

Label
Custom Field 3 Key
Helper text
Optional. Add or edit a custom field for the subscriber. Enter existing key or create a new one. Separate words by underscores (E.g. "shirt_size").
Slug
custom_fields_3_key
Required
false
Can have default value
true
Filter code method
Drip.createOrUpdateSubscriber.setCustomFields3Key(string: customFields3Key)

Custom fields 3 value Text input > Other

Label
Custom Field 3 Value
Helper text
Optional. The value for custom field 3.
Slug
custom_fields_3_value
Required
false
Can have default value
true
Filter code method
Drip.createOrUpdateSubscriber.setCustomFields3Value(string: customFields3Value)

Lifetime value Text input > Other

Label
Lifetime Value
Helper text
Optional. The lifetime value of the subscriber (in cents).
Slug
lifetime_value
Required
false
Can have default value
true
Filter code method
Drip.createOrUpdateSubscriber.setLifetimeValue(string: lifetimeValue)

Base lead score Text input > Other

Label
Base Lead Score
Helper text
Optional. An Integer specifying the starting value for lead score calculation for this subscriber. Defaults to 30.
Slug
base_lead_score
Required
false
Can have default value
true
Filter code method
Drip.createOrUpdateSubscriber.setBaseLeadScore(string: baseLeadScore)

User ID Text input > Other

Label
User ID
Helper text
Optional. A unique identifier for the user in your database, such as a primary key.
Slug
user_id
Required
false
Can have default value
true
Filter code method
Drip.createOrUpdateSubscriber.setUserId(string: userId)

Ip address Text input > Other

Label
IP Address
Helper text
Optional. The subscriber's IP address.
Slug
ip_address
Required
false
Can have default value
true
Filter code method
Drip.createOrUpdateSubscriber.setIpAddress(string: ipAddress)

Eu consent Text input > Other

Label
GDPR consent "granted" or "denied"?
Helper text
Optional. Use "granted" or "denied" to specify whether the subscriber granted or denied GDPR consent.
Slug
eu_consent
Required
false
Can have default value
true
Filter code method
Drip.createOrUpdateSubscriber.setEuConsent(string: euConsent)

Eu consent message Text input > Other

Label
GDPR Consent Message
Helper text
Optional. The message that the subscriber granted or denied their consent to.
Slug
eu_consent_message
Required
false
Can have default value
true
Filter code method
Drip.createOrUpdateSubscriber.setEuConsentMessage(string: euConsentMessage)