Discord User icon

Discord User

Complete Discord automation - Messages, Servers, Roles, Members, DMs

Message → Read

AI-generated

Summary

Fetch recent messages from a specified Discord channel.

Inputs

  • channelId (required) — The ID of the Discord channel to retrieve messages from.
  • limit — Maximum number of messages to fetch (between 1 and 100). Defaults to 10.

Output shape

a list of items

Returns individual n8n items for each message retrieved, containing messageId, content, author (username), and createdAt fields.

Examples

Example 1: Fetch the 10 most recent messages in a channel

Channel ID: '123456789012345678', Limit: 10

Example 2: Fetch the maximum allowed history for analysis

Channel ID: '123456789012345678', Limit: 100

Links

Discussion