rsnc_agent_next_goal
Calculate the fastest path to a user's next attainable reward. Shows exactly how many actions (purchases, reviews, referrals) are needed to afford a specific perk. Creates urgency and drives engagement. Requires authentication.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | User identifier (email or wallet address). | |
| brandId | No | Optional: focus on a specific brand. If omitted, finds the best goal across all brands the user is active with. | |
| targetPerkId | No | Optional: calculate path to a specific perk. If omitted, finds the most attainable perk. |