BuildShipBBuildShip
Powered by
ThomasT
BuildShip•2y ago•
3 replies
Thomas

Complex workflows -> timeout

I built rather complex buildship flows including website scrapers. Now when calling the api I get a timeout. Is there any best practice for the front end (flutterflow) on how to deal with long response times?
My flow works fine when testing it on Buildship.

I found a possible solution consulting gpt:

1. Frontend Request: Send an API request to start a task.
2. Backend Response: Return 202 Accepted with a task ID and status URL.
3. Backend Processing: Process the task in the background.
4. Result Storage: Store the result in Firebase.
5. Completion Notification: Use one of the methods above to notify the frontend (Polling, Websockets, Webhook).

So I am trying to send a 202 return, but I do not want to stop the workflow.
How do I do that?

Thanks a lot!!!
BuildShip banner
BuildShipJoin
Join founders, builders, devs using Low-code / No-code to create backend, APIs, scheduled Jobs, automation, AI workflows
7,971Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

All Workflows down
BrianBBrian / ❓・buildship-help
15mo ago
Issue with Exporting Workflows
EnVauEEnVau / ❓・buildship-help
15mo ago
(URGENT) No workflows loading
!CarlYouKilledIt!!CarlYouKilledIt / ❓・buildship-help
2y ago
Can't access workflows
JSLJJSL / ❓・buildship-help
3y ago