At The Byte Wizards we work with asana. Ideally everything will create a ticket that goes into Asana so we can quickly identify and work on client needs from a single source. Or in other words we use the same philosophy for ourselves as we use for client sites – as far as possible, the site should work with the organisations processes. Then we found ourselves wanting our website’s contact form to use the asana API to put contact submissions into asana too.
Simple, you’d think. But we use Elementor Pro. That sent us down a bit of a rabbit hole. Our first attempt to do this was to search for an Elementor plugin that already does it. We found this one, by webtica.
At first this seemed promising, but as we looked a bit deeper we realised this wasn’t the plugin for us. We wanted to take a form and have the plugin submit the entire contents of the form to asana in the notes field. To be able to report multiple fields it looked like we needed the pro version, but even this wasn’t ideal as it appears there is an awkward setting up process per form. Also, it costs $49 per year. It’s a niche thing but this seemed a bit on the pricey side to us.
So we decided to write our own simple alternative. Looking at the Elementor documentation this seems pretty simple, and indeed it was – taking less than two hours to complete. Our code, and the original webtica code, are just slight variations on the ‘advanced’ example that elementor gives for coding this type of thing, after all.
Our first version works for us, though we’d like to give it a bit more testing before we list it on the wordpress plugins lists. If you want to try it out head over to our github repository where you can find the code, or the release page where you can download a .zip file to upload as a plugin in your wordpress admin dashboard. If your use-case is the same as ours, then feel free to use it. It’s free.