When does BuildShip TimeOut a node?
Hi, I was looking forward to implementing a CloudConvert node: https://cloudconvert.com/api/v2#overview
In this case they state that we should use Webhooks because the conversion could take quite a while.
Does BuildShip ever time out a connection in this case?
Bonus question: The SDK supports an await for the webhook job. Would this work in BuildShip?
CloudConvert API
>File converter service - more than 200 different audio, video, document, ebook, archive, image, spreadsheet and presentation formats supported.
2 Replies
AI Support Bot Information
<@112676328783802368> you can react on the relevant answer (message) with a ✅ in this thread when you think it has been solved, by the bot or by a human!
Anyone can react on this message with a ❌ if the GPT bot is unhelpful or hallucinating answers.
Please note: Team members will review and answer the questions on best efforts basis.
AI Response
Connection Timeout
Regarding your question about whether BuildShip will time out a connection for long-running tasks like those handled by CloudConvert using webhooks, BuildShip does not explicitly state any specific timeout period for such cases within the primary documentation and FAQ resources.
SDK Webhook Await
As for the SDK's support for an
await
for webhook jobs, it's crucial to remember that await
is typically used in the context of asynchronous functions within a running environment. In the case of webhook handling, you would typically set up an HTTP endpoint that CloudConvert can call when the job is completed. With this approach:
- Your workflow can continue once it receives the webhook notification from CloudConvert.
- Make sure your webhook handler endpoint is correctly configured to handle the incoming payload and trigger the next steps in your BuildShip workflow.
For more details, refer to the BuildShip documentation on handling Webhooks and API call integrations:
- How to handle API calls
- Node Editor Guide
If you need further assistance with setting this up or if issues persist, please use the in-app support to create a detailed support request.
BuildShip AI Support