---
title: "Link to content from a message"
description: "Add a button to a flow step's message that opens a piece of library content, with a label and style of your choice and optional action tracking."
sidebar:
  order: 2
area: library
feature: content
appPath: /flows/home
lastVerified: 2026-10-22
version: "2026-10-16"
audience: admin
related:
  - flows/automations
  - library/content/publish-content
  - activity/actions
intercom:
  - id: "7157050"
    title: Choosing your message add-on
    url: https://intercom.help/pyn/en/articles/7157050-choosing-your-message-add-on
    note: "Pyn 1 article, kept for reference"
---

Content reaches employees through a button in a message. The button opens the published version of the content on a Pyn page, and with **Track Action** ticked, opening it counts as the message's action in Activity.

## Before you start

- You are a workspace admin or power user, so you can edit flows.
- The content is published. A button to unpublished content has nothing to show.

## Steps

1. In Pyn, open **Flows** in the left navigation, select the automation, then select the step whose message you want to change. The step editor opens on the right.

2. Place the cursor in the message body where the button should go.

3. In the editor toolbar select **Widgets**, then **Link to Library Content**.

4. Under **Library Content**, choose the piece. Type to search the list.

5. In **Label**, type the button text, for example "Read the guide". Choose a **Button Style**; **Default** uses your theme's button colour.

6. Tick **Track Action** if opening the content should count as the employee's action for this step, then select **Save**.

7. Select **Publish** on the automation so enrollments pick up the change.

> **Note:** Content is the same for everyone who opens it, except for tokens, which are filled in per reader. To send different content to different groups, add a step per group with its own audience.

## What you should see

The button sits in the message body with your label. In the step's preview and in a test send, selecting it opens the content on a Pyn page in your theme. Once the step delivers, [Actions](https://support.pynhq.com/activity/actions/) shows who opened it when **Track Action** is on.

## Related

- [Automations](https://support.pynhq.com/flows/automations/) for editing and publishing steps.
- [Publish content](https://support.pynhq.com/library/content/publish-content/) so the button has something to open.
- [Actions](https://support.pynhq.com/activity/actions/) to see who opened the content.

## Related Intercom articles

- [Choosing your message add-on](https://intercom.help/pyn/en/articles/7157050-choosing-your-message-add-on) — Pyn 1 article, kept for reference
