Actions2
Submit Outcome
AI-generatedSummary
Submit or update a conversion outcome metric for a specified cohort ID, optionally specifying a secondary metric, a label, and an event date for upserting.
Inputs
- Cohort ID (required) — Identifier used to tag LLM interactions and link outcomes to the correct cohort.
- Outcome — Primary numeric metric to submit (e.g., views, conversion rate, CSAT score).
- Outcome V2 — Secondary numeric metric to submit (e.g., likes, revenue per view, time saved).
- Label — Human-readable label for the outcome (e.g., "7d engagement", "email campaign performance").
- Event Date — Date of the outcome in YYYY-MM-DD format; when provided, the submission upserts based on cohort ID and this event date.
Output shape
a JSON object reflecting the API response to the submission request.
The node sends a POST request to the Demeterics API to submit the outcome. The returned JSON typically includes confirmation or result details from the API. Submission upserts on cohort ID plus event date if event date is supplied.
Examples
Example 1: Submit a primary conversion metric ‘outcome’ of 100 for cohort ID 'abc123' with a label and event date.
Set operation to 'Submit Outcome', provide 'abc123' as Cohort ID, 100 as Outcome, a descriptive Label, and an Event Date in YYYY-MM-DD format.