Copilot Links Block

Generate and display a list of links with contextual information

The Copilot Links block is designed to process and display a list of links with associated metadata, such as titles, images, snippets, and tags. It allows for dynamic content generation using Jinja templating and can limit the number of displayed links. This block is useful for creating link lists with rich contextual information within Scout workflows.

Configuration (Required)

Header
string

The header text for the list. This is optional and defaults to “Links” if not provided.

List of links
codeRequired

A Jinja-compatible string that represents the list of links to be processed. This input is required and should be formatted as a list of dictionaries.

Limit
integer

The maximum number of links to display. This is optional and defaults to 5 if not specified.

See Workflow Logic & State > State Management for details on using dynamic variables in this block.

Outputs

The block returns a structured list of links including metadata like URL, title, image URL, snippet, and tags, limited by the specified number.

Usage Context

Use this block to compile and display a list of links with additional metadata in a Scout workflow. Ideal for scenarios where you need to present a curated set of links with descriptive information.

Best Practices

  • Ensure the list_of_links input is a valid Jinja template that evaluates to a list of dictionaries.
  • Use the limit parameter to control the number of links displayed, preventing overload.
  • Provide a meaningful header to give context to the list of links.
Built with