Actions37
- Offer Item Actions
- Customer Actions
- Dispute Actions
- Installment Actions
- Line Item Actions
- Offer Actions
- Payment Actions
- Payment Method Actions
- Payment Plan Actions
- Payment Schedule Actions
- Refund Actions
Overview
This node integrates with the Partially Payment Plans API, enabling automation around customers, payment plans, offers, payments, and related entities. Specifically for the Customer - Create operation, it allows you to create a new customer record in the Partially system by providing essential details such as email, first name, last name, and optional additional fields like phone number or shipping address.
Common scenarios where this node is beneficial include:
- Automating customer onboarding workflows by creating customer profiles when new users sign up.
- Syncing customer data from other systems into Partially for payment plan management.
- Enriching customer records with detailed shipping and contact information for better payment plan handling.
Example: Automatically create a customer in Partially when a new user registers on your e-commerce platform, including their email, name, and preferred language.
Properties
| Name | Meaning |
|---|---|
| The customer's email address (required). | |
| First Name | Customer's first name. |
| Last Name | Customer's last name. |
| Additional Fields | Optional extra customer details including: |
| - Language: Two-letter language code (e.g., "en", "fr"). | |
| - Phone Number: Customer's phone number. | |
| - Shipping Address: Primary shipping address line 1. | |
| - Shipping Address Line 2: Secondary shipping address line. | |
| - Shipping City: City for shipping. | |
| - Shipping Country: Two-letter country code (e.g., "US", "CA"). | |
| - Shipping Name: Name used for shipping/payment plans. | |
| - Shipping State: Two-letter state/province/region code (e.g., "NY", "TX"). | |
| - Shipping Zip: Postal or zip code for shipping. | |
| - Timezone: Timezone string (e.g., "America/New_York"). |
Output
The output is a JSON object representing the newly created customer as returned by the Partially API. This typically includes all customer details stored in the system, such as:
- Customer ID
- Names
- Shipping and contact information
- Any metadata or additional fields provided
No binary data output is involved in this operation.
Dependencies
- Requires an active connection to the Partially Payment Plans API.
- Needs an API authentication token configured in n8n credentials to authorize requests.
- The node uses internal helper functions to make HTTP POST requests to the
/customersendpoint of the Partially API.
Troubleshooting
- Missing required fields: The "Email" field is mandatory. Omitting it will likely cause an error from the API.
- Invalid field formats: Ensure that country codes, language codes, and timezone strings conform to expected formats (e.g., ISO codes).
- API authentication errors: Verify that the API key credential is correctly set up and has sufficient permissions.
- Network issues: Check connectivity to the Partially API endpoint if requests time out or fail.
- Unexpected API responses: Inspect logs for the exact response; malformed input or server errors may require adjusting input data or retrying later.
Links and References
- Partially API Documentation (hypothetical link as not provided)
- n8n Documentation on Creating Custom Nodes
- ISO Country Codes Reference: https://www.iso.org/iso-3166-country-codes.html
- Timezone Database: https://www.iana.org/time-zones