n8n und PostUno
Alle Setups

n8n

HTTP-Request-Nodes auf deiner eigenen Instanz. Header Auth mit deinem API-Key.

Was du baust

  1. Erstelle in n8n Header-Auth-Credentials mit Authorization=Bearer YOUR_API_KEY.
  2. Füge einen HTTP-Request-Node hinzu. POST https://api.post-uno.com/v1/media/upload-url je Datei, dann einen Node, der jede Datei per PUT an ihre uploadUrl sendet.
  3. Füge einen letzten HTTP-Request-Node hinzu. POST https://api.post-uno.com/v1/posts mit Content-Type JSON.
  4. Sammle für ein Karussell die Keys in s3Keys. Instagram nimmt 2 bis 10 Elemente. X bis zu 4.
  5. Speichere die jobId, die zurückkommt, und frage https://api.post-uno.com/v1/posts/JOB_ID ab, um jede Plattform zu sehen.

Request-Body

{
  "profileId": "={{ $json.profileId }}",
  "s3Keys": ["={{ $json.key1 }}", "={{ $json.key2 }}"],
  "postType": "carousel",
  "caption": "={{ $json.caption }}",
  "platforms": ["instagram", "x"]
}

profileId ist eine UUID, die deinem API-Key gehört. Kopiere sie aus profile_id von einem beliebigen Konto, das GET /v1/accounts zurückgibt. Ein Profil, das nicht deins ist, fehlt oder keine UUID ist, kommt immer als 404 { "error": "Profile not found" } zurück.