Post Mate Trigger icon

Post Mate Trigger

Starts the workflow when post mate events occur (post published, failed, approved, etc.)

Post Mate Trigger

AI-generated

Summary

Starts a workflow when Post Mate sends webhook events for the selected post lifecycle events. On activation it registers a webhook in Post Mate, and on deactivation it deletes it.

Inputs

  • events (required) — Events to subscribe to: post.published, post.failed, post.scheduled, post.approved, post.changes_requested, post.metric_threshold. Defaults to post.published and post.failed. At least one is required, or activation fails.
  • options.skipVerification — Skips HMAC-SHA256 signature verification of incoming requests. Default false. Intended only for testing on an isolated network.

Output shape

One item per delivered webhook, whose json is the parsed request body sent by Post Mate (the event payload).

n8n responds immediately (onReceived). If verification fails, the node returns 401 and does not start the workflow. A request fails verification if the x-postmate-signature or x-postmate-timestamp header is missing or invalid, or if the timestamp is more than 5 minutes old. Verification uses the secret Post Mate returned at registration and stored in static data. If no secret is stored, events pass through unverified. The signature is checked against the re-serialized parsed body, not the raw bytes. Requires a postMateApi credential, and the API key must have full scope to create webhooks.

Examples

Example 1: Send a Slack alert when a post fails to publish

Events: Post Failed only; leave Skip Signature Verification off; connect to a Slack node.

Example 2: Log published and scheduled posts to a spreadsheet

Events: Post Published and Post Scheduled; connect to a Google Sheets or Airtable node.

Links

Discussion