Actions10
Experiment → Create
AI-generatedSummary
Create a Varify experiment by sending its name, page URL, variations, and any optional page, tracking, or targeting settings to the Varify API.
Inputs
- Name (required) — Experiment name.
- Page URL (required) — URL of the page where the experiment will run.
- Page Name — Optional name for the page.
- Tracking Enabled — Whether experiment tracking is enabled; defaults to true.
- Variations (required) — JSON array of variations. Each variation requires a name and traffic_allocation from 0 to 100. Optional fields include javascript, javascript_reset, css, extensions, changesets, redirect_url (up to 255 characters), and ga4_audience_id (up to 255 characters).
- Audience Targeting — Optional JSON nested array of audience targeting rules.
- Page Targeting — Optional JSON nested array of page targeting rules.
Output shape
A single API response item containing the created experiment.
Sends a POST request to /papi/experiments using the configured Varify API base URL and OAuth2 credentials. The exact response fields are determined by the API.