Events
- Active Campaign
- Acuity
- Axle Health
- Butterfly Labs
- Calendly
- Customer.io
- Elation
- Feathery
- Formsort
- Healthie
- Hubspot
- IntakeQ
- Junction
- Morf
- Segment
Actions
- Active Campaign
- Customer.io
- Facebook
- Freshdesk
- Google
- Healthie
- Hubspot
- IntakeQ
- Intercom
- Mixpanel
- Morf
- Nextdoor
- Open Phone
- Segment
- Slack
- Spruce
- Stedi
- Stripe
- Tiktok
- Twilio
Create Or Update Customer
Documentation for the Create Or Update Customer action for Stripe
{
"$result_object_key": {
"address": {
"city": "Springfield",
"country": "US",
"line1": "1234 Main St",
"line2": "Apt. 1",
"postal_code": "62704",
"state": "IL"
},
"balance": 1000,
"created": "2025-01-02T15:04:05Z",
"currency": "usd",
"description": "VIP Customer",
"email": "customer@example.com",
"id": "cus_J2m3K4L5N6O7P8Q9R0S",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"name": "John Doe",
"phone": "+1234567890"
}
}
{
"$result_object_key": {
"address": {
"city": "City/District/Suburb/Town/Village",
"country": "Two-letter country code (ISO 3166-1 alpha-2)",
"line1": "Address line 1 (Street address/PO Box/Company name)",
"line2": "Address line 2 (Apartment/Suite/Unit/Building)",
"postal_code": "ZIP or postal code",
"state": "State/County/Province/Region"
},
"balance": "The current balance, if any, that's stored on the customer",
"created": "Time at which the object was created.",
"currency": "Three-letter ISO code for the currency the customer can be charged in for recurring billing purposes",
"description": "An arbitrary string attached to the object. Often useful for displaying to users",
"email": "The customer's email address",
"id": "Unique identifier for the object",
"metadata": {
"key": null,
"value": null
},
"name": "The customer's full name or business name",
"phone": "The customer's phone number"
}
}
Parameters
ID
This field maps to the destination API id
field.
HI
ID
PII
This field maps to the destination API description
field.
PII
This field maps to the destination API email
field.
HI
ID
PII
This field maps to the destination API metadata
field.
PII
This field maps to the destination API name
field.
PII
This field maps to the destination API phone
field.
{
"$result_object_key": {
"address": {
"city": "Springfield",
"country": "US",
"line1": "1234 Main St",
"line2": "Apt. 1",
"postal_code": "62704",
"state": "IL"
},
"balance": 1000,
"created": "2025-01-02T15:04:05Z",
"currency": "usd",
"description": "VIP Customer",
"email": "customer@example.com",
"id": "cus_J2m3K4L5N6O7P8Q9R0S",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"name": "John Doe",
"phone": "+1234567890"
}
}
{
"$result_object_key": {
"address": {
"city": "City/District/Suburb/Town/Village",
"country": "Two-letter country code (ISO 3166-1 alpha-2)",
"line1": "Address line 1 (Street address/PO Box/Company name)",
"line2": "Address line 2 (Apartment/Suite/Unit/Building)",
"postal_code": "ZIP or postal code",
"state": "State/County/Province/Region"
},
"balance": "The current balance, if any, that's stored on the customer",
"created": "Time at which the object was created.",
"currency": "Three-letter ISO code for the currency the customer can be charged in for recurring billing purposes",
"description": "An arbitrary string attached to the object. Often useful for displaying to users",
"email": "The customer's email address",
"id": "Unique identifier for the object",
"metadata": {
"key": null,
"value": null
},
"name": "The customer's full name or business name",
"phone": "The customer's phone number"
}
}
Result Object Field Details
You can use the result of the action’s data as inputs to downstream workflow actions.
Each fetch action requires a result object key to be specified which will nest the action’s result data inside the downstream data context in the Workflow.
Here we demonstrate how to refer to this data using the prefix $result_object_key
.
The customer’s address
$result_object_key.address
{
"city": "Springfield",
"country": "US",
"line1": "1234 Main St",
"line2": "Apt. 1",
"postal_code": "62704",
"state": "IL"
}
City/District/Suburb/Town/Village
$result_object_key.address.city
"Springfield"
Two-letter country code (ISO 3166-1 alpha-2)
$result_object_key.address.country
"US"
Address line 1 (Street address/PO Box/Company name)
$result_object_key.address.line1
"1234 Main St"
Address line 2 (Apartment/Suite/Unit/Building)
$result_object_key.address.line2
"Apt. 1"
ZIP or postal code
$result_object_key.address.postal_code
"62704"
State/County/Province/Region
$result_object_key.address.state
"IL"
The current balance, if any, that’s stored on the customer
$result_object_key.balance
1000
Time at which the object was created.
$result_object_key.created
"2025-01-02T15:04:05Z"
Three-letter ISO code for the currency the customer can be charged in for recurring billing purposes
$result_object_key.currency
"usd"
An arbitrary string attached to the object. Often useful for displaying to users
$result_object_key.description
"VIP Customer"
The customer’s email address
$result_object_key.email
"customer@example.com"
Unique identifier for the object
$result_object_key.id
"cus_J2m3K4L5N6O7P8Q9R0S"
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format
$result_object_key.metadata
{
"key1": "value1",
"key2": "value2"
}
The customer’s full name or business name
$result_object_key.name
"John Doe"
The customer’s phone number
$result_object_key.phone
"+1234567890"
{
"$result_object_key": {
"address": {
"city": "Springfield",
"country": "US",
"line1": "1234 Main St",
"line2": "Apt. 1",
"postal_code": "62704",
"state": "IL"
},
"balance": 1000,
"created": "2025-01-02T15:04:05Z",
"currency": "usd",
"description": "VIP Customer",
"email": "customer@example.com",
"id": "cus_J2m3K4L5N6O7P8Q9R0S",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"name": "John Doe",
"phone": "+1234567890"
}
}
{
"$result_object_key": {
"address": {
"city": "City/District/Suburb/Town/Village",
"country": "Two-letter country code (ISO 3166-1 alpha-2)",
"line1": "Address line 1 (Street address/PO Box/Company name)",
"line2": "Address line 2 (Apartment/Suite/Unit/Building)",
"postal_code": "ZIP or postal code",
"state": "State/County/Province/Region"
},
"balance": "The current balance, if any, that's stored on the customer",
"created": "Time at which the object was created.",
"currency": "Three-letter ISO code for the currency the customer can be charged in for recurring billing purposes",
"description": "An arbitrary string attached to the object. Often useful for displaying to users",
"email": "The customer's email address",
"id": "Unique identifier for the object",
"metadata": {
"key": null,
"value": null
},
"name": "The customer's full name or business name",
"phone": "The customer's phone number"
}
}