Skip to main content

Automating Postmypost publishing with Make (Integromat)

What is Make?

Make (formerly Integromat) is a visual automation platform that connects services without writing code. You build scenarios from modules: each module does one thing — fetches data, transforms it, or sends it to another service via API.

How does Make work?

  • A scenario is a chain of modules connected by flows.
  • It can run manually, on a schedule, by a webhook, or another event.
  • Data moves step by step through modules where it can be filtered, branched by conditions, and transformed by mappers.

What is Make used for?

Make helps automate routine tasks when you need to connect multiple services: collect data, process it, and send it to Postmypost for publishing. This reduces manual work, minimizes errors, and speeds up content delivery.

Example automation chain to create posts with AI image generation

Scenario goal:

  • An AI model generates an image from a prompt.
  • The generated image is automatically uploaded to Postmypost via API.
  • After a successful upload, a post with this image is created and published.
https://make.com/

Important: every request to the Postmypost API must include the HTTP Authorization header:

Important: include the HTTP Authorization header in all Postmypost API requests:

Authorization: Bearer <token>

Where <token> is your access token (see “How to get an API token in Postmypost?”).

Step 1. Create a Scenario

  1. Sign in to Make and create a new Scenario.
  2. Add a trigger module (e.g., Manual, Scheduler, or Webhooks).
    https://make.com/

Step 2. Generate an AI image

Implementation options:

  • OpenAI module (Images/DALL·E) — if available on your Make plan.
  • Or an HTTP module that calls a third‑party image generation service which returns a public image URL.

Output of this step: a publicly available HTTP(S) URL of the generated image (e.g., https://.../generated.jpg).

https://make.com/

Step 3. Initialize upload (Postmypost)

In Make, use the HTTP “Make a request” module:

  • Method: POST
  • URL: the Postmypost upload initialization endpoint (see your API spec)
  • Headers: Authorization: Bearer <token> and Content-Type: application/json
  • Body (JSON):
{
"project_id": 245678,
"url": "<URL from step 2>"
}

Expected response:

{
"id": 1283466,
"url": "https://storage.example.com/123/uploaded_img.jpg",
"size": 259390,
"status": 5
}

Explanation:

  • id — upload ID (needed later)
  • url — temporary S3 upload URL
  • status = 5 — waiting for upload
https://make.com/

Step 4. Complete upload

Again an HTTP “Make a request” module:

  • Method: POST (or according to your API spec)
  • URL: the Postmypost upload completion endpoint
  • Headers: Authorization and Content-Type
  • Body (JSON):
{
"id": 112233
}

Sample response:

{
"id": 112233,
"status": 1
}

status = 1 — the file has been uploaded successfully.

https://make.com/

Step 5. Check upload status

HTTP “Make a request” module:

  • Method: GET
  • URL: the status check endpoint with the id from previous steps
  • Headers: Authorization

Sample response:

{
"id": 112233,
"file_id": 778899,
"status": 1
}

Important:

  • file_id — required for creating a publication.

Statuses:

  • 5 — waiting for upload
  • 4 — uploading
  • 3 — processing
  • 2 — error
  • 1 — uploaded successfully
https://make.com/

Step 6. Create a Postmypost publication

HTTP “Make a request” module:

  • Method: POST
  • URL: Postmypost publication creation endpoint
  • Headers: Authorization and Content-Type: application/json
  • Body (JSON):
{
"project_id": 245678,
"post_at": "2025-06-28T15:00:00+03:00",
"delete_at": "2025-07-05T15:00:00+03:00",
"rubric_id": 17289,
"account_ids": [4, 7, 10],
"publication_status": 4,
"details": [
{
"publication_type": "post",
"content": "Your post text",
"file_ids": [778899]
}
]
}

Where:

  • file_ids — an array of file IDs; pass the file_id you received in step 5.

As a result, you’ll get a confirmation and the publication ID.

https://make.com/
https://make.com/