SocialHub icon

SocialHub

SocialHub System API Integration Node

Overview

This node integrates with the SocialHub system API to perform various operations related to member management, specifically querying a paginated list of customer member accounts. It is useful for retrieving detailed member account information for a specified customer, supporting pagination and optional filtering by loyalty program code. Practical applications include managing customer loyalty programs, analyzing member data, and integrating member account information into CRM or marketing automation workflows.

Use Case Examples

  1. Retrieve a list of member accounts for a customer with pagination to display in a dashboard.
  2. Filter member accounts by a specific loyalty program to target marketing campaigns.
  3. Fetch member account details for customer service purposes.

Properties

Name Meaning
Customer Code The unique identifier for the customer whose member accounts are being queried.
Page Number The page number of the results to retrieve, starting from 1 for the first page.
Page Size The number of member accounts to retrieve per page, with a maximum of 100.
Loyalty Program Code Optional code to filter member accounts by a specific loyalty program.

Output

JSON

  • data - The array or object containing the queried member account list or details returned from the API.

Dependencies

  • Requires an API key credential for the SocialHub system API, configured as 'socialHubApi'.

Troubleshooting

  • Ensure the 'Customer Code' is correctly provided and exists in the SocialHub system to avoid empty results or errors.
  • Verify that the API credentials for SocialHub are valid and have the necessary permissions to access member data.
  • If pagination parameters are out of range (e.g., page number too high), the API may return empty data; adjust page number and size accordingly.
  • Check network connectivity and API endpoint availability if requests fail.

Links

Discussion