StyloDocs
Workflow blocks

Validate Response Links

Check that all URLs in a response are from allowed KB sources

View as Markdown

automation/validate-response-links — Check that all URLs in a response are from allowed KB sources.

Where it appears

The Validate Response Links block lives in the Logic & control group of the Workflow Builder.

Fields

FieldTypeRequiredDefaultDescription
responsetext (multi-line, supports references)YesThe response text whose URLs should be validated against the allowed sources. Use literal text or <StepName.field> to reference a generated reply.
allowedUrlscodeYesJSON array of allowed base URLs/sources; any link in the response not matching one of these is flagged as invalid.

Inputs and outputs

Inputs are the configurable fields above. The block produces these outputs:

Outputs

Reference an output downstream with <Validate Response Links.field>.

NameTypeDescription
successbooleanSuccess status
isValidbooleanWhether all links are valid
invalidUrlsarrayInvalid URLs found
errorstringError message if failed

Example

A minimal configuration for this block:

{
  "type": "automation/validate-response-links",
  "config": {
    "response": "<PreviousStep.field>",
    "allowedUrls": "..."
  }
}

Limits and failure modes

  • Required fields (response, allowedUrls) must be set, or the block fails validation before it runs.
  • On failure the error output is populated; downstream blocks that reference other outputs may not receive values.

On this page