SmaxAi icon

SmaxAi

Interact with SmaxAi API

Customer → Update Customer

AI-generated

Overview

This node updates a customer profile in the SmaxAi system. It is useful for scenarios where you need to modify existing customer information, such as updating customer attributes dynamically based on new data or interactions. For example, you might update a customer's preferences, contact details, or custom attributes to keep the profile current.

Use Case Examples

  1. Updating customer attributes like name, email, or custom tags for a specific customer identified by their Customer PID and associated with a specific Page PID.
  2. Modifying multiple attributes of a customer in bulk using the fixed collection input for attributes.

Properties

Name Meaning
Page PID The unique identifier of the page associated with the customer. Required to specify the context of the customer.
Customer PID The unique identifier of the customer to update. Required to identify which customer profile to modify.
Customer Attributes A collection of attribute name-value pairs to update on the customer profile. Allows multiple attributes to be updated in one operation.

Output

JSON

  • json - The JSON response from the SmaxAi API after updating the customer profile, containing the updated customer data or status.

Dependencies

  • SmaxAi API with credentials including a business alias and access token for authorization.

Troubleshooting

  • Ensure that valid credentials are provided; otherwise, the node will throw a 'No credentials returned!' error.
  • Verify that the Customer PID and Page PID are correct and correspond to existing entities in the SmaxAi system to avoid 'Unknown resource' or 'Unknown operation' errors.
  • Make sure the attributes collection is properly formatted with valid name-value pairs to prevent API request failures.

Discussion