Skip to main content
The chat step allows you to send messages to various chat platforms like Slack, Discord, and Microsoft Teams.

Example Usage

await step.chat('chat', async () => {
  return {
    body: 'A new post has been created',
  };
});

Chat Step Output

PropertyTypeRequiredDescription
bodystringYesThe message to be sent to the chat channel

Chat Step Result

The chat step does not return any result object.