This action will create a new subscriber or update a subscriber.
- 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
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)