Actions7
- Customer Actions
- Block Actions
- Order Actions
Block → Send Block
AI-generatedOverview
The node sends a predefined block message to a specific customer on a given page using the SmaxAi API. It is useful for automating communication with customers by sending targeted message blocks, optionally including messenger tags and custom attributes for both the customer and the block. For example, it can be used to send promotional messages, updates, or notifications to customers in a personalized manner.
Use Case Examples
- Sending a promotional message block to a customer with specific customer and block attributes.
- Sending a notification block with a messenger tag to indicate the type of message, such as ACCOUNT_UPDATE or CUSTOMER_FEEDBACK.
Properties
| Name | Meaning |
|---|---|
| Page PID | The unique identifier of the page from which the block message will be sent. |
| Customer PID | The unique identifier of the customer who will receive the block message. |
| Block ID | The identifier of the block message to be sent to the customer. |
| Messenger Tag | An optional tag to categorize the message type, such as ACCOUNT_UPDATE or CUSTOMER_FEEDBACK. |
| Customer Attributes | Custom attributes to include with the customer data when sending the block message. |
| Block Attributes | Custom attributes to include with the block message data. |
Output
JSON
json- The JSON response from the SmaxAi API after sending the block message, containing details about the operation result.
Dependencies
- SmaxAi API with an API key credential
Troubleshooting
- Ensure that the Page PID, Customer PID, and Block ID are correctly provided and valid, as missing or incorrect IDs will cause the API request to fail.
- If the messenger tag is set, ensure it is one of the supported values; otherwise, the API may reject the request.
- Check that the API credentials (business alias and access token) are correctly configured and valid to avoid authentication errors.
- If custom attributes are provided, ensure they are formatted correctly as name-value pairs to prevent request errors.