# Get a random product — AWIN Botize method — `awin.next_random_product` (trigger). Like getting the next product, but it picks one at random from the next ones instead of always following catalog order. For channels that publish products and do not want them to come out in a row. This is a trigger: it starts the task. A task has exactly one. ## Fields you set The field's internal name, its type and the values it accepts. These fields accept `{{...}}` tags from earlier steps. - `datafeed` *(string)* — Feed Id - `keywords` *(string)* — Contains any of the following keywords - `categories` *(string)* — Contains any of the following categories - `min_saving_percent` *(string, one of: "" = {{txt_all}}; "0.02" = 2%; "0.05" = 5%; "0.1" = 10%; "0.15" = 15%; "0.20" = 20%; "0.25" = 25%; "0.30" = 30%; "0.40" = 40%; "0.50" = 50%; "0.60" = 60%; "0.70" = 70%; "0.80" = 80%; "0.90" = 90%)* — At least one offer having saving percentage above the specified value - `min_price` *(string)* — Min. Price (At least one offer price above the specified value) - `max_price` *(string)* — Max. Price (At least one offer price below the specified value) - `has_reached_end` *(string, one of: "restart" = Start again from the beginning, default: "restart")* — Action upon reaching the last product ## Output variables Data this step makes available. Reference them in later steps with the double-brace tag. - `{{awin_product_id}}` *(text)* — AWIN Product Id. AWIN Product Id - `{{affiliate_url}}` *(text)* — Affiliate Product URL. Product detail URL with the user's affiliate code - `{{image_url}}` *(text)* — Image URL. Main Product image URL - `{{title}}` *(text)* — Title. Product Title - `{{category}}` *(text)* — Category. Product Category - `{{price}}` *(decimal)* — Sale Price. Sale price - `{{original_price}}` *(decimal)* — Original Price. Original price - `{{savings_amount}}` *(decimal)* — Saving:Amount. Saving Amount - `{{savings_percentage}}` *(decimal)* — Saving:Percentage. Saving Percentage ## Account Needs a connected AWIN account in Botize: https://botize.com/en/app/awin/authenticate ## This app Every trigger and action for AWIN: https://botize.com/en/app/awin.md ## How to build this An AI assistant (Claude, ChatGPT, Cursor…) can create and edit these tasks in the user's account through the Botize MCP connector, included in every plan: https://webhook.botize.es/mcp - Connection guide: https://botize.com/en/mcp - Agent map: https://botize.com/llms.txt - New account: https://botize.com/en/join (500 free operations, no card) --- Machine-readable summary for AI assistants. Human version: https://botize.com/en/method/awin/next_random_product