Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API call when xMatters notification is triggered #3

Open
naveenpochaboina opened this issue Dec 29, 2019 · 3 comments
Open

API call when xMatters notification is triggered #3

naveenpochaboina opened this issue Dec 29, 2019 · 3 comments

Comments

@naveenpochaboina
Copy link

Hi,

With this outbound integration, notification recipients can create, update and resolve Statuspage incidents, but how can we do an API call when the notification is triggered from xMatters ? Rather than depending on the recipient responses.

We’ve a custom form (Major Incident Notification) which we use to send messages related to Incidents. Now we want to do an API call to Statuspage when the form is submitted or “send message”. How can we achieve this ?

@xMTinkerer
Copy link
Contributor

You can use the Event Status trigger. Doc'd in the event status updates trigger section.

I haven't updated this to be a flow step, so you'll need to use the integration builder, unless you want to convert it to a flow step. Converting it would give you all the flow designer goodness.

Let me know if that makes sense!

@naveenpochaboina
Copy link
Author

27835504-8215-4D05-B01E-2AAF4619437E

I’ve added the highlighted piece of code within the Outbound Integration, but it still did not work.

Can you please help to provide the steps in correct order ?

Thank you in advance!

@xMTinkerer
Copy link
Contributor

Ok, so I had a brain fart and forgot that we've actually ported this Statuspage integration to the Flow Designer. You can see details here:
https://help.xmatters.com/ondemand/xmodwelcome/flowdesigner/statuspage-steps.htm
That one is showing the flow off of a response trigger, but you could use the Event Status trigger:
image

And then build your flow like so:
image

However, if you can't or don't want to build it in flow designer, you can select or create a new outbound integration that fires on the event status change on the previous screen:
image

That is where you can select the trigger type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants