Some services do not allow integration solutions such as Adobe Workfront Fusion to create an app that you can easily use in your scenario.
There is a workaround to this situation. You can connect the desired service (app) to Workfront Fusion using Workfront Fusion’s HTTP module.
This article explains how to connect almost any web service to Workfront Fusion using an API Key/API token.
You must have the following access to use the functionality in this article:
Adobe Workfront plan* | Pro or higher |
Adobe Workfront license* | Plan, Work |
Adobe Workfront Fusion license** | Workfront Fusion for Work Automation and Integration |
Product | Your organization must purchase Adobe Workfront Fusion as well as Adobe Workfront to use functionality described in this article. |
To find out what plan, license type, or access you have, contact your Workfront administrator.
For information on Adobe Workfront Fusion licenses, see Adobe Workfront Fusion licenses.
The procedure of connecting the service via an API token is similar for most web services.
We will use the Pushover notification service as an example throughout this article.
There are many different ways that web services create and distribute API keys or API tokens. For instructions on obtaining an API key and token for your desired web service, go to the service’s website and search for “API key” or “API token.”
We are including instructions for obtaining a Pushover API key only as an example of what you might find.
To connect a web service to your Workfront Fusion scenario, you need to use the HTTP >Make a request module in the scenario and set up the module according to the web service’s API documentation.
Add the HTTP >Make a Request module to your scenario.
To push a message using Workfront Fusion, set up the HTTP module as follows.
These module settings correspond to the Pushover web service API documentation. Settings may be different for other web services. For example, the API token may be inserted to the Header and not to the Body field.
URL |
The URL field contains the endpoint that you can find in the web service's API documentation. |
Method |
The used method depends on the corresponding endpoint. The Pushover endpoint for pushing messages uses the POST method. |
Headers |
Some web services may use Headers to specify the API token authentication or other parameters. This is not the case in our example as the Pushover's endpoint for pushing messages uses Body (see below) for all request types. |
Query String |
Some web services may use a Query String to specify other parameters. This is not the case in our example as the Pushover web service uses Body (see below) for all request types. |
Body Type |
This setting allows you to select the JSON content type in the Content Type field below. |
Content Type |
JSON is the required content type by the Pushover app. This may differ from other web services. |
Request Content |
Enter the Body request content in the JSON format. You can use the JSON > Create JSON module as explained in JSON Body Mapped Using the JSON > Create JSON module in this article. Or you can enter the JSON content manually, as explained in JSON Body Entered Manually in this article. See the web service's API documentation for the required parameters for that web service. |
Specify parameters and values in the JSON format.
Example:
{"user":"12345c2ecu1hq42ypqzhswbyam34",
"token":"123459evz8aepwtxydndydgyumbfx",
"message":"Hello World!",
"title":"The Push Notification"}
user |
Your USER_KEY. This can be found in your Pushover dashboard. |
token | Your API token/API Key that was generated you created your Pushover app. |
message | The text content of the push notification that is sent to the device(s). |
title | (Optional) Your message's title. If no value is entered, your app's name is used. |
The Create JSON module makes the specifying JSON easier. It also gives you the possibility to define values dynamically.
For more information about the JSON modules, see JSON modules.
Enter or map the values you want to create JSON from.
Connect the JSON > Create JSON module to the HTTP > Make a Request module.
Map the JSON string from the Create JSON module to the Request content field in the HTTP >Make a Request module.
Now when you run the scenario, the push notification is sent to the device that has been registered in your Pushover account.