Get Action Recommendations

personalize_runtime.get_action_recommendations
ActionAmazon Web Servicesconnection required

Calls the AWS personalize_runtime API (SigV4).

Returns a list of recommended actions in sorted in descending order by prediction score.

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

5 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 action recommendations…
stringNo———
user_id
The user ID of the user to provide action recommendations for.
stringNo———
num_results
The number of results to return. The default is 5. The maximum is 100.
numberNo—≥ 1—
filter_arn
The ARN of the filter to apply to the returned recommendations. For more information, see…
stringNo———

Output

One shape.

result

FieldTypeExample
actionList
array—
recommendationId
string—
{
  "actionList": [],
  "recommendationId": ""
}

Related Amazon Personalize Runtime nodes

See Get Action 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.