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.

FieldTypeRequiredDefaultConstraintsExample
region
AWS region (overrides the connection).
stringNo———
campaign_arn
The Amazon Resource Name (ARN) of the campaign to use for getting recommendations.
stringNo———
item_id
The item ID to provide recommendations for. Required for RELATED_ITEMS recipe type.
stringNo———
user_id
The user ID to provide recommendations for. Required for USER_PERSONALIZATION recipe type.
stringNo———
num_results
The number of results to return. The default is 25. If you are including metadata in…
numberNo—≥ 1—
filter_arn
The ARN of the filter to apply to the returned recommendations. For more information, see…
stringNo———
recommender_arn
The Amazon Resource Name (ARN) of the recommender to use to get recommendations. Provide…
stringNo———

Output

One shape.

result

FieldTypeExample
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.