gitroomhq / postiz-app

📨 Schedule social media posts, measure them, exchange with other members and get a lot of help from AI 🚀
https://postiz.com
Apache License 2.0
9.83k stars 2.23k forks source link

WebHook as a provider #321

Open OleksandrKucherenko opened 1 month ago

OleksandrKucherenko commented 1 month ago

🔖 Feature description

It would be great to have a WebHook as a dummy provider that allows you to play with Postiz when no other integrations are configured.

🎤 Why is this feature needed ?

That will allow you to configure Zappier (n8n) or any other automation.

✌️ How do you aim to achieve this?

  1. Create a WebHook provider
  2. In settings, add a form for configuring credentials for multiple webhooks (host URL, login/password/token)
  3. post JSON during execution; use mustache/handlebars libs for converting template into final JSON with data injecting

🔄️ Additional Information

This can be used for 3rd party integrations:

👀 Have you spent some time to check if this feature request has been raised before?

Are you willing to submit PR?

Yes I am willing to submit a PR!

nevo-david commented 1 month ago

@OleksandrKucherenko it's interesting, but we need to understand how to reflect that in the UI as we don't want to have another icon in production for a mock :)