Skip to content
AskElephant Knowledge Base home

Outcome Validator

Check whether a workflow actually achieved what it was supposed to, including verifying changes in HubSpot or Salesforce, instead of just confirming it ran without errors.

Outcome Validator node in the workflow builder

What It Does

Evaluates a natural-language description of success against the workflow's outputs, and optionally queries HubSpot or Salesforce, to confirm the intended outcome actually happened. Returns whether validation passed, a summary, and details on any criteria that were or were not verified.

When To Use It

Place this near the end of a workflow to confirm the real-world result, not just that every node completed, for example "a task should exist in HubSpot on this company containing the action items from the AI summary." Follow it with a Conditional Prompt checking success, so you can branch to a notification if validation fails.

Configuration

Configure the node with these settings:

Field

What it controls

Success Criteria

A natural-language description of what success looks like. Reference earlier outputs with {{nodeId.property}}. Required.

CRM Platform

Which CRM to query for validation: hubspot, salesforce, or auto to detect based on your connected integrations. Required, defaults to auto.

Continue on Failure

When enabled, the workflow continues even if validation fails, so you can add reporting logic. When disabled, a failed validation stops the workflow. Required, defaults to false.

Outputs

The node passes these values downstream. Check the Outputs tab on the configured node to confirm exact paths.

Variable

Type

Description

Example

success

boolean

Whether all validation criteria were met

{{nodeId.success}}

validationSummary

string

Human-readable summary of validation results

{{nodeId.validationSummary}}

errors

array<object>

List of validation errors if success is false

{{nodeId.errors}}

errors[].criterion

string

The specific criterion that failed

{{nodeId.errors.criterion}}

errors[].reason

string

Why the criterion was not met

{{nodeId.errors.reason}}

errors[].details

object

Additional context about the failure

{{nodeId.errors.details}}

verifiedCriteria

array<object>

List of criteria that were successfully verified

{{nodeId.verifiedCriteria}}

verifiedCriteria[].criterion

string

The criterion that was verified

{{nodeId.verifiedCriteria.criterion}}

verifiedCriteria[].evidence

string

Evidence supporting the verification

{{nodeId.verifiedCriteria.evidence}}

Example Workflow

At the end of a "create HubSpot task" workflow, add an Outcome Validator to confirm the task exists with the right content, then branch on {{outcomeValidator.success}} with a Conditional Prompt, sending a Send Notification to the workflow owner if it failed.

  • Conditional Prompt

  • Send Notification

  • Assign Property Value

Need More Help?

Reach the AskElephant support team by:

  • clicking the Support tab on the right side of your screen,

  • emailing [email protected],

  • or using @askelephant support in your dedicated Slack channel.