Post to social media from Make with Ampost
By ArturPublished Updated
The Ampost app for Make has a Create a post module that publishes to every network you name in one step. Install the app in your Make account, import the blueprint below, add your API key as a connection, and send the scenario's webhook a post. The app is a custom app, not in Make's directory yet; the HTTP module version of the scenario works in any Make account.
What you'll build
- A Make scenario with three modules: a custom webhook that receives a post, Ampost's Create a post, and a webhook response with the new post's id and status.
- A webhook URL that any app, form or script can call to publish to several social networks at once.
- A starting point for scenarios that post from other Make apps: Google Sheets, Airtable, Notion, RSS or an AI module.
Before you start
- An Ampost account. The Free plan includes the REST API (2 social accounts and 15 posts every 30 days); scheduling needs the Pro plan or higher, and X the Max and Scale plans. See pricing.
- An API key from Settings, API keys. The key is shown once, so copy it when you create it. Treat it like a password.
- At least one connected social account, under Settings, Connections in the dashboard.
- A Make account. The free plan is enough: the scenario uses about three operations per post.
- For the Ampost app: VS Code with Make's Make Apps Editor extension, once, to install the app. Without it, use the HTTP module blueprint.
Download
Free to use and change. The file is shown in full below, so you can read it before you run it.
{
"name": "Post to social media from a webhook (Ampost app)",
"flow": [
{
"id": 1,
"module": "gateway:CustomWebHook",
"version": 1,
"parameters": {
"hook": null,
"maxResults": 1
},
"mapper": {},
"metadata": {
"designer": {
"x": 0,
"y": 0
}
}
},
{
"id": 2,
"module": "ampost:createPost",
"version": 1,
"parameters": {
"__IMTCONN__": null
},
"mapper": {
"targets": [
{
"platforms": [
"bluesky",
"threads"
]
}
],
"text": "{{1.text}}",
"linkUrl": "{{ifempty(1.link; null)}}",
"when": "now",
"Idempotency-Key": "webhook-{{ifempty(1.id; md5(1.text))}}"
},
"metadata": {
"designer": {
"x": 600,
"y": 0
}
}
},
{
"id": 3,
"module": "gateway:WebhookRespond",
"version": 1,
"parameters": {},
"mapper": {
"body": "{\"postId\": \"{{2.id}}\", \"status\": \"{{2.status}}\"}",
"status": "200",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
]
},
"metadata": {
"designer": {
"x": 900,
"y": 0
}
}
}
],
"metadata": {
"instant": true,
"version": 1,
"designer": {
"orphans": []
},
"scenario": {
"dlq": false,
"slots": null,
"dataloss": false,
"maxErrors": 3,
"autoCommit": true,
"roundtrips": 1,
"sequential": false,
"confidential": false,
"freshVariables": false,
"autoCommitTriggerLast": true
}
}
}
{
"name": "Post to social media with Ampost",
"flow": [
{
"id": 1,
"module": "gateway:CustomWebHook",
"version": 1,
"parameters": {
"maxResults": 1
},
"mapper": {},
"metadata": {
"designer": {
"x": 0,
"y": 0
}
}
},
{
"id": 2,
"module": "http:ActionSendData",
"version": 3,
"parameters": {
"handleErrors": true,
"useNewZLibDeCompress": true
},
"mapper": {
"ca": "",
"qs": [],
"url": "https://api.ampost.io/api/posts",
"gzip": true,
"method": "post",
"headers": [
{
"name": "Authorization",
"value": "Bearer YOUR_AMPOST_API_KEY"
}
],
"timeout": "",
"useMtls": false,
"authPass": "",
"authUser": "",
"bodyType": "raw",
"contentType": "application/json",
"data": "{{1.post}}\n",
"serializeUrl": false,
"shareCookies": false,
"parseResponse": false,
"followRedirect": true,
"useQuerystring": false,
"followAllRedirects": false,
"rejectUnauthorized": true
},
"metadata": {
"designer": {
"x": 300,
"y": 0
}
}
},
{
"id": 3,
"module": "gateway:WebhookRespond",
"version": 1,
"parameters": {},
"mapper": {
"body": "{{2.data}}",
"status": "{{2.statusCode}}",
"headers": []
},
"metadata": {
"designer": {
"x": 600,
"y": 0
}
}
}
],
"metadata": {
"instant": true,
"version": 1,
"designer": {
"orphans": []
},
"scenario": {
"dlq": false,
"slots": null,
"dataloss": false,
"maxErrors": 3,
"autoCommit": true,
"roundtrips": 1,
"sequential": false,
"confidential": false,
"freshVariables": false,
"autoCommitTriggerLast": true
}
}
}
Steps
1. Install the Ampost app in your Make account
In Make, open your profile, API access, and create an API token with the custom-app scopes. Then open Custom apps and create an app named
ampost.Clone the app's repository and open it in VS Code with the Make Apps Editor extension. Right-click
makecomapp.jsonand choose Deploy to Make; the first time, it asks for your Make zone (for exampleeu1.make.com), the token and the app. The app's page lists its modules.terminalgit clone https://github.com/ampost-io/make-ampost2. Import the blueprint
Download the Ampost app blueprint above. In Make, create a new scenario, open the three-dot menu at the bottom of the editor, choose Import Blueprint and pick the file. You get Webhooks (Custom webhook), Ampost (Create a post) and Webhooks (Webhook response).
If Make added a suffix to your app's name (for example
ampost-a1b2c3), the modules come in empty: replaceampost:with your app's name in the file first.terminalsed -i 's/"ampost:/"ampost-a1b2c3:/' post-to-social-media.blueprint.json3. Add your API key and create the webhook
Open Create a post, click Add next to Connection and paste your API key. Make checks it when you save.
Click the first module, then Add to create a webhook (name it, for example, Ampost post). Copy its URL: this is where you send posts.
4. Turn the scenario on and send a post
Create a post publishes
textandlinkfrom the webhook to Bluesky and Threads, now. Change Targets, Platforms to your networks; When to publish also offers a schedule, the queue and a draft.Platform keys:
instagram(Instagram),facebook(Facebook),linkedin(LinkedIn),tiktok(TikTok),threads(Threads),twitter(X),discord(Discord),telegram(Telegram),bluesky(Bluesky),youtube(YouTube),pinterest(Pinterest). Click Run once (or turn the scenario on), then send the webhook a JSON body.idis optional: it becomes the post's Idempotency key, so a repeat of the same id never posts twice.terminalcurl -X POST "https://hook.eu1.make.com/your-webhook-id" \ -H "Content-Type: application/json" \ -d '{ "text": "Hello from Make and Ampost!", "link": "https://example.com", "id": "hello-1" }'5. Read the result
The webhook answers with the new post's id and status, for example
{"postId": "6f1c2a4e-…", "status": "published"}. Create a post's output in Make's history also has oneplatformPostsentry per account. If Ampost refuses the post, the module fails with Ampost's error in the history, and the caller gets an error.
Post from other Make apps
Put the other app's module first and map its fields into Create a post: a Google Sheets row, an Airtable record, an RSS item or an AI module's text. Map a unique value, such as the row's id, into Idempotency key.
The app's repository has more blueprints: RSS to all platforms, a Google Sheets schedule, an AI post with approval and YouTube cross-posting.
Without the app: the HTTP module blueprint
Download the HTTP module blueprint above. It has the same webhook and response, with Make's HTTP (Make a request) in place of Create a post, so it works in any Make account.
Open the HTTP module. The URL is https://api.ampost.io/api/posts, the method POST and the body type Raw, JSON. Under Headers, replace YOUR_AMPOST_API_KEY in the Authorization value with your key, so it reads Bearer amp_live_....
The request content is {{1.post}}: send the webhook the post as the API takes it, under post. Make writes an object as JSON text, so quotes and line breaks in the post stay valid. The webhook answers with Ampost's whole response.
curl -X POST "https://hook.eu1.make.com/your-webhook-id" \
-H "Content-Type: application/json" \
-d '{
"post": {
"targets": [{ "platforms": ["bluesky", "threads"] }],
"text": "Hello from Make and Ampost!",
"linkUrl": "https://example.com",
"publishNow": true
}
}'Errors and retries
Ampost's errors have a code and a message: 401 UNAUTHORIZED means the key is wrong (in the HTTP module, the header needs Bearer before the key), 400 VALIDATION_FAILED names each wrong field, 403 UPGRADE_REQUIRED a feature your plan lacks, 429 RATE_LIMITED a rate limit and 429 QUOTA_EXCEEDED a used-up monthly post allowance.
To retry safely, send a value unique per post as the Idempotency key (in the HTTP module, an Idempotency-Key header): a repeat with the same key within 24 hours returns the first post. All error codes are in the API reference.
FAQ
Is there an Ampost app in Make?
Yes, as a custom app: you install it into your own Make account from its GitHub repository with Make's VS Code extension. It is not in Make's app directory yet. The HTTP module blueprint works without it.
How many Make operations does a post use?
Three: the webhook, Create a post (or the HTTP request) and the webhook response. Posting to five networks is still one module run, because Ampost fans the post out.
Which social networks can I post to from Make?
Every network you connect to Ampost: Instagram, Facebook, LinkedIn, TikTok, Threads, X, Discord, Telegram, Bluesky, YouTube, Pinterest. Name them by key in targets[].platforms; X is twitter. LinkedIn and TikTok are coming soon.
Can I schedule a post instead of publishing it now?
Yes. Send scheduledFor with an ISO 8601 time (for example 2027-01-14T15:00:00Z) instead of publishNow: true, and Ampost publishes it then. Scheduling needs the Pro plan or higher.
What happens if the same request is sent twice?
The templates send an Idempotency-Key header. A retry with the same key within 24 hours returns the first post instead of creating a second one, so a retried step never posts twice.