Airtable-Integration

Steuere deinen Content-Kalender mit Airtable-Automationen.

Schritt für Schritt

  1. Erstelle eine Tabelle mit Spalten für Text, Medien, Profil und Plattform. Speichere deine PostUno-profileId (eine UUID aus GET /v1/accounts), nicht die Airtable-Record-ID.
  2. Löse die Automation aus, wenn ein Datensatz den Status „Ready“ bekommt.
  3. Führe eine Script-Aktion aus, die /v1/media/upload-url aufruft, die Anhang-Bytes per PUT sendet und dann /v1/posts aufruft.
  4. Schreibe die zurückgegebene jobId zurück nach Airtable.
  5. Frage /v1/posts/JOB_ID für Zustellungs-Updates ab oder registriere statt Polling einen Webhook.

Beispiel-Payload

{
  "profileId": "3f8c1e42-9b0a-4d77-8e21-5c6f0a1b2d3e",
  "s3Key": "uploads/1735689600000-media.mp4",
  "postType": "video",
  "caption": "Scheduled from Airtable",
  "platforms": ["x", "linkedin", "facebook"],
  "addToQueue": true
}

profileId muss eine Profil-UUID sein, die deinem API-Key gehört — nimm sie aus dem profile_id eines beliebigen Kontos aus GET /v1/accounts. Ein Profil eines anderen Kontos, ein nicht existierendes Profil oder ein Wert, der keine UUID ist, liefern alle dasselbe 404 { "error": "Profile not found" }.