Actions44
- Message Actions
- User Profile Actions
- Server Actions
- Channel Actions
- Role Actions
- Member Actions
- Presence Actions
- Invite Actions
Message → Read
AI-generatedSummary
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