0% found this document useful (0 votes)
110 views10 pages

Tray Io

The document provides steps for connecting a Spark API to the tray.io workflow automation platform. It involves logging into tray.io, creating a new connector, filling out configuration forms to authenticate with the API and define operations, mapping the API request body and headers, adding operational inputs to pass dynamic values, testing the connection, and publishing the connector to be used in tray.io workflows. Finally, it notes that the new connector can now be used to connect applications and process data from Spark models in Excel.

Uploaded by

Sourabh Choraria
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
110 views10 pages

Tray Io

The document provides steps for connecting a Spark API to the tray.io workflow automation platform. It involves logging into tray.io, creating a new connector, filling out configuration forms to authenticate with the API and define operations, mapping the API request body and headers, adding operational inputs to pass dynamic values, testing the connection, and publishing the connector to be used in tray.io workflows. Finally, it notes that the new connector can now be used to connect applications and process data from Spark models in Excel.

Uploaded by

Sourabh Choraria
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

Recipes

Vol. 5 : Connecting from tray.io

© 2023 Coherent, All rights reserved.


Step 1
Log in to tray.io...
Head over to https://tray.io/
Log in or sign up for a new account.
...then head over to the Connectors area.

Hit the New Connector


button to get started!

© 2023 Coherent, All rights reserved.


Step 2
Start your Connector...
Fill in the Name and Description to match
your API and get your Base URL from the
Endpoint URL in Spark.

(Leave off the word Execute!)

Click Next...

and then Connect to a new API.

© 2023 Coherent, All rights reserved.


Step 3
New API connection...

We're going to leave this set to "None". This


doesn't mean your endpoint is unsecured, we
Complete the New just handle it a different way.
API connection form
and select a logo for
your new
connection.

Then click Next


Authorization type.

© 2023 Coherent, All rights reserved.


Step 4
New Operation...
Select the Operations tab and click on
Create new operation.

Another Name and Description, this time for


the specific API, and hit Submit.

(It's important to name it accurately if you have


subservices!)

© 2023 Coherent, All rights reserved.


Step 5
Configuring the API...
On the next page we're going to head
straight to the HTTP request tab. Then add the headers:
Content-Type, x-synthetic-key, x-tenant-name

The first thing to do here is to set the


method to POST and enter the Execute
part of the URL endpoint.

© 2023 Coherent, All rights reserved.


Step 6
Setting up the Body...
Head over to Spark and get your API request inputs
JSON view and add it to the raw body.

Finally add in your input variables


using by overwriting the values with:
{{AnnualInterestRate}}

I got a data type warning when I linked it


to my operation input but it worked fine.

© 2023 Coherent, All rights reserved.


Step 7
Add your Operational inputs and test it...

The final part to mapping your request is to take


the inputs you labelled in your body and to add
them as Operation inputs; they need a Name, Key
and Value Type.

Now we're ready to fill in our Step inputs with some


sample data and the click the Test operation
button.

© 2023 Coherent, All rights reserved.


Step 8
Set your output and publish!

The last thing to do is to


hit the Publish button
and now you're ready to
use your Spark service in
your Tray.io workflows!
Once your test has run successfully you can press
the Use output button above the results to set the
output values for your service.

© 2023 Coherent, All rights reserved.


Build your workflow
Start connecting your applications to Spark!
Examples of Tray.io connectors:

Now you have a Spark


connector you can create
flows of data between
hundreds of different
applications and add in the
data processing from
the models you've created in
Excel!

© 2022 Coherent, All rights reserved.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy