# Send your first message

Canonical: https://brew.new/templates/knock/send-your-first-message

Brand: knock.app
Category: newsletter

![Preview of Send your first message](https://cdn.brew.new/email-preview-4a60eb1a53ae1918-tracking_r57ynzcwrw06xx1x4x55wqa2g58dt5cs-1788998255168.png)

## Email content

Knock

Hi there,

Once you have your first workflow set up, you’re almost ready to send your first message.

Next, you'll need to provide the following data in your call to the Knock API:

recipients – The list of users to notify. You can trigger a workflow with an API call, an external event, or when a user enters an audience.

data – The variable data that will populate your notification templates. You can use the following sample data payload to get started.

import Knock from"@knocklabs/node";

const knock =newKnock({apiKey: process.env.KNOCK_API_KEY});

await knock.workflows.trigger("new-comment",{

recipients:["1","2"],

// optional

data:{"project_name":"My Project"},

actor:"3",

cancellation_key:"cancel_123",

tenant:"jurassic_world_employees"

});

When these steps are complete, you’ll be ready to send your first test notification. Head to the Knock dashboard to complete these steps.

Go to Knock dashboard

The Knock team

KnockXLinkedInUnsubscribe

3229 Greenpoint Ave, Suite 286, Long Island City, NY, 11101, US

Knock Logo

[Open and remix this design](https://brew.new/templates/knock/send-your-first-message)

[Browse email designs](https://brew.new/browse/templates)
