Save time building your automation in Tray.io by using proven connector snippets into your workflow.
Copy and paste snippets with the New Workflow Builder in Tray.io!
Force Proper Case
Version: 1.0
Level: Basic
The text-helper function ‘proper case’ only changes the first character of each word in a string. Example: “mY tExT” becomes “MY TExT”. To force only the first letter of each word to be capitalized, first call ‘lower case’ followed by ‘proper case’. This basic snippet chains those two calls together and connects the input of the second step to the output of the first step. The example becomes “My Text” with this snippet.
Asana-Search Paginated Results
Version: 0.1
Level: Advanced
Asana’s Search API handles pagination differently from other API calls, and the documentation notes that you have to handle search results specially in order to read all values. This Tray.io snippet loops through a search, sorted by Created_at, and loops through the results. It handles incrementing the Created_at value to grab the next 100 results. This snippet assumes all tasks in the search results were created after January 1, 1970.
🚧 This snippet is not pasting into Tray correctly. It is too complex for the new workflow builder 😜 If I’m able to refactor the snippet so it works, I’ll update this 🚧
Share Your Feedback
What connectors do you want to see snippets for?
Are you interested in sharing your own code snippets for others to use?
If you’d like a response, please include your email address.
About Tray.io & Workflow Garden
Tray.io is a powerful low-code automation platform with an easy-to-use drag and drop interface.
Workflow Garden was born from an idea to increase the shareability of Tray.io code. Workflow Garden is being built by Anthony Tamalonis and is not affiliated with Tray.io. My goal is to help build a community around Tray.io and to facilitate the sharing of code snippets. I’ve been building workflows in Tray since mid-2020 and was a LabVIEW developer for 10 years before that.
Roadmap
Beta launch w/ working snippets and explainer video
Finish beta w/ 30+ code snippets
Organize snippets into pages by connector, use-case, and complexity
Post a full workflow .json file
Post community-authored snippets
Search for snippets
Display stats for number of times snippet is used
Add user comments or hearts/stars/diggs
Sign-in w/ Google or Etherium login.xyz
Offer advanced workflows/snippets for sale
Snippets to github for version control
