❓Question of the week: If you were to make ONE GOLDEN RULE that everyone who uses Workato has to follow, what would it be?
REPLY: Share your rule, and the story behind it if you have one.
REACT: Give a 👍 to any rule you’d sign off on
Annotate your recipes! Add comments to versions like a commit history. Add comments to actions with obscure business logic. Add comments to your 4-line and 400-line JavaScript actions. The next person to maintain your recipe needs to navigate your labyrinthine decision making, so try to help them out by leaving some breadcrumbs. Sometimes, the next person in line is you, but months or years later. There’s nothing worse than dusting off an old recipe and finding past-you built it upside down, backwards, and inside out with zero explanation and now present-you needs to figure it out and fix it.
This is the best use of “labyrinthine decision making” I have ever seen 🤩
A good philosophy for both building and writing: Whatever you write, edit out 10%. It’s easy to make a sprawling recipe or over complicate an agent. You over-engineer a workflow such that you’re doing way more than you need to. You add detail after detail to an agent’s job description because you’re scared it’s not specific enough until it’s way too complicated. Anything I write, I try to really read through it and ask “does this still make sense if I take out this sentence?” It’s a great check to have on yourself and it makes your recipes more readable, your agents more adaptable, and generally keeps your creations focused on their objective.
May be a bit obvious but verify your recipes against the systems they change. I was building a project that triages Zendesk tickets, and the update recipe returned triaged: true, but the ticket in Zendesk still had no ‘triaged’ tag. The flag was hardcoded, so the recipe said it was a success whether the tag was added or not. So always check the record in the app!
Golden Rule that i would suggest everyone to use in Workato would be: Treat naming conventions and connections as part of your deployment architecture, not as an afterthought. Standardized recipe/connection names and clearly separated environment-specific connections reduce deployment errors and simplify ongoing support.
krishna j. - that is a REALLY good one. Recipes can’t only live in our heads and naming them correctly helps communicate them to those who come after us 😄