Image Editor Integration

Akshay Jugran
Tera Expert

Is there any integration possible between servicenow and any image editor.

If so, please guide me with it.

Thank You.

1 ACCEPTED SOLUTION

Anand Kumar P
Giga Patron
Giga Patron

Hi @akshay Jugra,

Get the Image Editor API:
• Choose an image editor with a RESTful API create rest message with endpoint and credentials for Adobe Creative Cloud, Pixlr, or Cloudinary.
2. Configure API Credentials:
• Sign up for the image editor’s API and get your API key configure that credentials in ServiceNow access token with oauth 2.0
3. Trigger rest message from script include or business rule or schedule job as per your

var r = new sn_ws. RESTMessageV2('Rest message name', 'post');

var response = r.execute();

var status=getStatusCode();

if(status==200){
var body =response.getbody();

var parse=JSON.parse(body);

get values from parse variable 

4. Authentication:
• Include API credentials securely in your HTTP requests

requestOptions.headers = {
'Content-Type': 'application/json',
'Authorization': `Bearer ${apiKey}`,
};

5. Define Image Editing Actions:
• Specify the image editing action and parameters.

Thanks,

Anand

 

View solution in original post

2 REPLIES 2

Anand Kumar P
Giga Patron
Giga Patron

Hi @akshay Jugra,

Get the Image Editor API:
• Choose an image editor with a RESTful API create rest message with endpoint and credentials for Adobe Creative Cloud, Pixlr, or Cloudinary.
2. Configure API Credentials:
• Sign up for the image editor’s API and get your API key configure that credentials in ServiceNow access token with oauth 2.0
3. Trigger rest message from script include or business rule or schedule job as per your

var r = new sn_ws. RESTMessageV2('Rest message name', 'post');

var response = r.execute();

var status=getStatusCode();

if(status==200){
var body =response.getbody();

var parse=JSON.parse(body);

get values from parse variable 

4. Authentication:
• Include API credentials securely in your HTTP requests

requestOptions.headers = {
'Content-Type': 'application/json',
'Authorization': `Bearer ${apiKey}`,
};

5. Define Image Editing Actions:
• Specify the image editing action and parameters.

Thanks,

Anand

 

can you please elaborate how to configure image editing actions step after successful API configuration.

Thanks.