AWS - Custom eCommerce Recommendation Engine with HubSpot and AWS Personalize/ Import Custom Events

Number of APIs: 1

This Qodex collection is designed to automate the process of importing custom eCommerce event data into HubSpot, leveraging AWS Personalize to enhance your recommendation engine. The collection facilitates the creation of custom events within HubSpot, allowing for detailed tracking and analysis of user interactions with your eCommerce platform.

Use Case:

This collection is ideal for developers and marketers looking to integrate AWS Personalize with HubSpot for a custom eCommerce recommendation engine. By importing detailed custom events into HubSpot, you can gain deeper insights into user behavior and enhance the personalization of your eCommerce offerings.

This Qodex collection provides a powerful and automated solution for importing custom events into HubSpot, ensuring that your CRM is enriched with meaningful data to drive better recommendations and customer experiences.

Key Features:

  1. Custom Event Creation:
- The collection uses a POST request to send custom event data to HubSpot's Events API.

- The event captures various properties, including event type, item details (ID, name, description, categories, price, and discount), and user information.
  1. Dynamic Data Handling:
- The collection is built to handle dynamic data inputs, where event details such as item ID, product name, and user ID are set as variables within Qodex.

- A pre-request script retrieves the necessary HubSpot contact ID using the external user ID, ensuring that the event is associated with the correct contact in HubSpot.
  1. Pre-Request Script:
- The pre-request script automates the lookup of the HubSpot contact ID based on the user ID provided in the CSV or dataset.

- It sends a search request to the HubSpot Contacts API, retrieves the contact ID, and stores it as a variable for use in the event creation request.
  1. Event Properties:
- The body of the POST request is populated with various event properties, including:

    - **Event Type**: Defines the type of user interaction (e.g., "StartCheckout").

    - **Item Details**: Includes the item ID, name, description, categories, price, and discount information.

    - **User Information**: Captures the user ID and the exact time when the event occurred.
  1. Execution and Customization:
- The collection is designed for flexibility, allowing users to modify the event properties and the associated data dynamically based on their specific use cases.

- Developers can run this collection iteratively for multiple events, ensuring seamless integration of custom events into HubSpot for enhanced eCommerce tracking and personalization.
  1. Create Custom Event Completion POST https://api.hubapi.com/events/v3/send