Site iconAxway Blog

Integrating Service Now and Slack – Axway Application Integration Part 3

Axway Application Integration

Axway Application Integration

This blog entry is the final part of a three-part series where we will ultimately build a Cloud to Cloud (C2C) integration between Service Now and Slack, utilizing Event-Driven triggers to execute an automated orchestration Flow. Read part one and two of my series here.

In this blog entry, I will cover how to:

  1. Create an Event-Based Flow in Axway Integration Builder.
  2. Configure the Service Now Connector Instance Event Polling to trigger autonomous POSTing of new Incidents to Slack.
  3. Create a Flow Instance to successfully execute and monitor the steps configured in the Flow.

Create and Configure and Event-Based Flow

At this point, we have seen how the Service Now and Slack APIs work independently. Remember the ultimate goal is to put these together so a new Incident in Service Now will POST a message to your Slack Channel automatically.

Event

JS Script Contents

let body = {“text”: “New ServiceNow Incident Created”};
done({body:body});

Demonstrate the Flow in action.

Conclusion

At this point, you should have a working Cloud to Cloud integration between Service Now and Slack with an automated Flow Instance that works off new Incidents in Service Now to kick off the Flow logic. This works by executing the Flow based on the Event Trigger that is triggered every time the Event Poll on the Service Now Connector Instance sees a new Incident Event. This Flow then POSTs an alert to Slack to notify a resource that there is a new Incident they need to explore in real-time.

The Flow Template is completely reusable. Just create a new Flow Instance, where you can modify the Slack or Service Now instances you are connected to or the Slack Channel.

What Now?

From here there are many ways you could use this base demo.

The possibilities are endless!

Enjoy this blog post? Follow me on the Axway devblog. Stay tuned, enjoy, and reach out if you have questions or concerns with this configuration! Want to know more about the Axway Integration Builder and the art of the possible?

Let us know by visiting our site and clicking the “CONTACT” tab in red on the right.

Exit mobile version