Is it possible to create an ‘event’ or the ‘when’ portion of a workflow statement using a custom integration via a third-party API?
Hey Ryan — yes, there is a way to do this via. Pre-Request script
The pre-request script for a custom integration can handle a payload sent to it and run a Workflow or Action accordingly
we are currently working on a feature that will make this process more seamless and less code-heavy
but it’s possible today nonetheless
So would that pre-request portion basically be multiple GET requests to the API endpoint?
Also, do you have any docs on how this could be done at some kind of high/theoretical level--or an example , or something ?
The pre-request script would accept a POST from an external source and then can make GET requests within the script as needed
I think we have something documented internally, I’ll look around (cc: @catherine.achukwu @justin.little @jb.lovell)
Yea, this functionality/feature is reliant on events being sent to BetterCloud from some other systems. We don’t currently support polling, except in our native/backend connectors.
HOWEVER, there are apps/scripts you could set up yourself that polls the data on some interval and you could send that info to the BetterCloud API to act as a custom When event. @rlinde
Thanks that is helpful
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.