• Documentation
  • Workato Blog
  • Product Blog
  • Return to Workato
  • Login
  • Automation Institute
  • Documentation
  • Community Forums
New Topic
Discussions Recipe Building Applications Questions
B

Brad Eisenberg

started a topic about 5 years ago

How can I pass a Token into a Custom Action

I want to use a custom action using the TSheets connector. TSheet's API documentation specifies that a Token needs to be passed with any API call. I'm able to set the service path and input parameters with the Custom Action, but I can't figure out how to pass the API token.


Any ideas?

Patricia Guevarra

said about 5 years ago

Hi Brad,


Thanks for reaching out! If you are using the custom action in the prebuilt connectors, you wouldn't need to handle the authentication, so you shouldn't need to pass the token in. Were you facing issues with a particular recipe?

B

Brad Eisenberg

said about 5 years ago

Yes, I'm trying several Get actions using the custom action in the prebuilt TSheets connector and they're not returning any results. This is the output of a test Job:

image


Based on the TSheets API documentation, my hypothesis is that a Token header needs to be passed in the call because the endpoint is not account specific. See TSheet's documentation below:

image


Example Request:

image


Not sure why it's returning zero results otherwise.


Patricia Guevarra

said about 5 years ago

Hi Brad,


I tried the same action in our test instance, and it works to do a "Get Jobcode" custom action with only the Request URL in the custom action. Perhaps you can send a link to your recipe so we can take a look?

B

Brad Eisenberg

said about 5 years ago

Interesting. Ok, I'll open a ticket with a the private link if I can't find a work around.

Login to post a comment

Still can't find your solution?

Send us a ticket, we will try our best to assist you with your problem

Documentation
Developer's Library
Tutorials
eBooks
Product Hour
Product Blog
Workato Blog
Product updates
Customer Stories
© Workato 2022   Privacy   Terms   +1 (844) 469-6752
  • Documentation
  • Workato Blog
  • Product Blog
  • Solutions
  • Forums
  • Tickets
  • Log in
  • Return to Workato
Topic views count