tutorials
How to Post to Social Media Directly from ChatGPT & Custom GPTs
ESER Engineering September 18, 20266 min read
ESER AI · field notes
Step-by-step tutorial on connecting OpenAI ChatGPT to ESER AI using Custom GPT Actions and REST endpoints for 9-platform publishing.
## How to Post to Social Media Directly from ChatGPT\n\nOpenAI’s ChatGPT and Custom GPTs can be connected directly to ESER AI to schedule and publish content across 9 platforms directly from the chat interface.\n\n---\n\n### Prerequisites\n\n1. ESER AI account with active API key (from `https://app.eserai.tech/dashboard/developer`).\n2. ChatGPT Plus or Enterprise account with Custom GPT creation privileges.\n\n---\n\n### Step 1: Create a Custom GPT Action\n\nIn your GPT configuration, select **Create new action** and add the OpenAPI schema pointing to `https://app.eserai.tech/v1`:\n\n```yaml\nopenapi: 3.0.0\ninfo:\n title: ESER AI Social Media API\n version: 1.0.0\nservers:\n - url: https://app.eserai.tech/v1\npaths:\n /posts:\n post:\n operationId: createPost\n summary: Publish or schedule a social media post\n requestBody:\n required: true\n content:\n application/json:\n schema:\n type: object\n required: [platform, text]\n properties:\n platform: { type: string }\n text: { type: string }\n scheduledAt: { type: string }\n mediaUrls: { type: array, items: { type: string } }\n```\n\n### Step 2: Configure Authentication\nSet authentication type to **API Key**, pass your ESER key as a Bearer token (or in the `eser-api-key` header), and test draft creation directly in the chat.
Automate your social strategy with ESER AI
Ingest content sources and generate multi-platform posts automatically.