You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
We need to create a process to take the email attachment from an Email Integration Alert and add it to the Incident ticket that was created for the alert. We have the API calls to add it via Service NOW and we were thinking about doing this via an OEC connector.
Has anyone done this? Does anyone have an OEC action script that could do this?
A script for that specific use case does not exist however I have good news, our API supports a call that generates a download URL link so that you can download the attachment.
Use this documentation to make the API call that returns a JSON that contains the download URL. From there the next steps depends on the scripting language you choose to write your OEC script in, the basic logic will be to parse the JSON response and extract the URL as a variable then download it to the server running OEC, once it has completed downloading store the local file path in a variable so that you can pass it to your Service NOW API call.
I hope this helps.