AutoPost

Interact with AutoPost TheNextGen — schedule posts, manage DMs, reply to comments, and list accounts

Actions10

Post → Get All

AI-generated

Summary

Retrieve a list of posts from AutoPost with optional filters for status, platform, scheduled date range, and account, supporting pagination and selective field returns.

Inputs

  • Status Filter — Filter posts by their status: All, Scheduled, Published, Failed, or Draft.
  • Platform — Filter posts by one or more platforms from Facebook, Instagram, LinkedIn Personal, LinkedIn Business, and TikTok.
  • Scheduled From — Filter posts scheduled after this datetime.
  • Scheduled To — Filter posts scheduled before this datetime.
  • Return Fields — Select which post fields to return; leaving empty returns all fields. Options include ID, Content, Platforms, Scheduled At, Status, Image URL, and Created At.
  • Account (Page ID) — Filter posts by a specific platform Page ID or account identifier (e.g. Facebook page ID or LinkedIn org URN).
  • Limit — Maximum number of posts to return, from 1 to 100, defaults to 20.
  • Page — Page number for pagination, starting at 1, defaults to 1.

Output shape

a list of post objects, each containing all fields or a subset depending on 'Return Fields' selection

Posts are retrieved by calling the AutoPost API using GET /posts; filters are applied server-side where supported, with additional client-side field filtering if requested. Pagination is supported using 'limit' and 'page' parameters. Errors during retrieval can optionally continue or stop execution based on node settings.

Examples

Example 1: Get all published posts on Instagram and Facebook, returning only their ID, content, and status, limit 10 per page, page 1.

Set Status Filter to 'Published', Platform to ['Facebook', 'Instagram'], Return Fields to ['id', 'content', 'status'], Limit to 10, Page to 1.

Links

Discussion