Get Recommendations
personalize_runtime.get_recommendations
ActionAmazon Web Servicesconnection required
Calls the AWS personalize_runtime API (SigV4).
Returns a list of recommended items.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Amazon Personalize Runtime
- Secret shape
- {"access_key_id", "secret_access_key"}
- Config it needs
- region
- Resolved by
- config.connection_id, else node.connection_id
Configuration
7 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
region AWS region (overrides the connection). | string | No | — | — | — |
campaign_arn The Amazon Resource Name (ARN) of the campaign to use for getting recommendations. | string | No | — | — | — |
item_id The item ID to provide recommendations for. Required for RELATED_ITEMS recipe type. | string | No | — | — | — |
user_id The user ID to provide recommendations for. Required for USER_PERSONALIZATION recipe type. | string | No | — | — | — |
num_results The number of results to return. The default is 25. If you are including metadata in… | number | No | — | ≥ 1 | — |
filter_arn The ARN of the filter to apply to the returned recommendations. For more information, see… | string | No | — | — | — |
recommender_arn The Amazon Resource Name (ARN) of the recommender to use to get recommendations. Provide… | string | No | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
itemList | array | — |
recommendationId | string | — |
{
"itemList": [],
"recommendationId": ""
}Related Amazon Personalize Runtime nodes
See Get Recommendations run in a workflow.
In a technical demo we add the Amazon Personalize Runtime connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.