Hello community,
I need to set up an integration within Opsgenie and Betterstack. In particular, I have to create an automation that create automatically an Incident in Betterstack when a manual Incident is created using Opsgenie.
I can use custom code that will call Betterstack APIs to create incident but I can't find a way to trigger this code from Opsgenie (I've found webhook integration bit didn't find how to set up the URL).
I also tried Zapier but didn't find a way to put Opsgenie as the starting trigger as you can see in the attached screenshot.
I can't find documentation useful.
Could you help me please?
Hello @Cristiano Sticca
Thank you for contacting the Atlassian Community!
Considering there is no native integration option is available with Opsgenie-Betterstack it will not be possible to setup a outgoing action directly from Opsgenie.
To set up an integration between Opsgenie and Betterstack where a manual incident in Opsgenie automatically triggers the creation of an incident in Betterstack, you can use a combination of Opsgenie's webhooks and a serverless function or a small application that acts as a bridge to Betterstack's API in the cases where Betterstack don't have the webhook option.
For specific steps:
You need an endpoint URL where Opsgenie can send the webhook requests. This URL will point to your serverless function or application that processes the incoming data.
Parse the incoming JSON data from Opsgenie. Look for the incident creation events or any specific data you need. Use Betterstack’s API to create an incident. Refer to Betterstack’s API documentation for authentication and endpoint details.
By following these steps, you should be able to set up an automatic integration between Opsgenie and Betterstack that creates incidents in Betterstack based on manual incident creations in Opsgenie.
I understand this is not a straightforward approach from Opsgenie or Betterstack and the limitations are due to the product design.
I hope the details provided are helpful. Thank you for your time and consideration.
Regards
Mubeen Mohammed
Cloud Support Engineer
Hi @Mubeen Mohammed ,
thanks for your reply. It sounds good.
Could you please help me in find the documentation about creating a webhook on Opsgenie because I found it in my account (Integrations Settings) but when I try to configure a new webhook I didn't find the field on which to put my url.
Thanks a lot.
Bye,
Cristiano
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Cristiano Sticca
Here is the documentation for the Webhook Integration setup in Opsgenie.
Once the integration is created for the outgoing rules to work you need to edit the settings and enable the "Authenticate with a Webhook account" option in the settings as shown in the screenshots below.
I hope the details provided are helpful. Thank you for your time and consideration.
Regards
Mubeen Mohammed
Cloud Support Engineer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.