Learn how webhooks work and how to use them to automate social media posting when events happen in your other apps.
A webhook is an automatic notification that one app sends to another when something happens. Unlike an API where you have to ask "did anything change?", a webhook pushes the notification to you the moment the event occurs.
Think of it like a doorbell vs. someone knocking every 5 minutes to ask if anyone has arrived. Webhooks are the doorbell.
Two main use cases:
**Inbound webhooks (trigger a post):** Something happens in an external app → your social media scheduler receives a webhook → a post gets created or scheduled.
**Outbound webhooks (react to a post):** You publish a post → your scheduler sends a webhook to an external app → that app does something with the information.
Imagine you sell digital products on Gumroad. Every time someone buys, you want to post a thank-you on your Discord community automatically.
Here's the flow:
1. Customer completes purchase on Gumroad
2. Gumroad sends a webhook to a Zapier endpoint
3. Zapier formats the data and sends it to SocialMate's API (or webhook endpoint)
4. SocialMate creates a draft Discord post: "Just helped another creator level up! If you're looking to [product benefit], grab it at [URL]"
5. You review and schedule with one click
Setup time: about 30 minutes the first time. After that, it runs forever with zero effort.
You have a content calendar in Notion. When a post actually goes live, you want the Notion row to update from "Scheduled" to "Published" automatically.
SocialMate supports outbound webhooks — go to Settings → Integrations → Webhooks, add your Zapier catch URL, and map the published_at timestamp back to your Notion database.
Step 1: Use Zapier's "Webhooks by Zapier" trigger
In Zapier, create a new Zap with "Webhooks by Zapier" as the trigger. Choose "Catch Hook" and copy the unique URL it gives you.
Step 2: Configure the source app to send to that URL
In whatever app is your source (Gumroad, Shopify, WordPress, etc.), find the webhooks settings and paste the Zapier URL. Choose which events should trigger it (new order, new post, etc.).
Step 3: Test the webhook
Trigger a real event (make a test purchase, publish a test post) and verify Zapier caught it. You'll see the raw data.
Step 4: Map the data to your social post
Tell Zapier which fields from the webhook payload to use in the social post. Customer name goes here, product name goes there, URL goes at the end.
Step 5: Add the action
Choose your scheduler as the action app, or use the Webhooks action to call your scheduler's API directly.
When SocialMate fires an outbound webhook on post publish, the payload looks something like this:
```json
{
"event": "post.published",
"post_id": "abc123",
"content": "Your post content here",
"platforms": ["bluesky", "discord"],
"published_at": "2026-05-22T14:00:00Z",
"workspace_id": "ws_xyz"
}
```
You can use any of these fields in downstream automation — log to a spreadsheet, update a project management tool, trigger a celebration emoji in Slack.
All three work seamlessly with SocialMate webhooks.
Use webhooks when:
Use native integrations when:
Try SocialMate free at socialmate.studio and explore webhook settings under the Integrations tab.
Schedule to 16 platforms, manage your team, and grow your audience — all for free. No credit card required.
Create free account →16 platforms · Unlimited posts · Free forever
Comparing tools?
❤️ 2% of every SocialMate subscription goes to SM-Give — our charity initiative. Learn about SM-Give →