Calling out from Autotasks

Is it possible to call an external api service for example a mongodb endpoint from within an autotask script so that i can keep state information...

Hi @civy

We do not currently have mongoDB as part of our environment dependancies on which autotasks run.
You can find a list of pre-installed modules here.

You will need to use a javascript module bundler such as rollup or webpack to include it in your code, here is an example project on how to achieve this.

Hope that helps!

Hi @civy

Wanted to also note that you can use axios to make http requests to an external endpoint. We also have our own key-value store it that suits your needs.