Skip to content
Improving scenario ...
 
Notifications
Clear all

Improving scenario interoperability

5 Posts
2 Users
0 Reactions
4 Views
prolingua
(@prolingua)
Posts: 3
Active Member
Topic starter
 

Improvement requests frequently arise regarding the HTTP module's ability to enhance communication between scenarios. The primary issues involve timeouts after a short duration or an inability to handle chunked requests or pagination. We often rely on these modules to connect scenarios, as the solutions provided by callin.io's support team (utilizing Data Stores or calling other scenarios via the callin.io or Scenarios apps) are insufficient. Therefore, I've compiled these App Improvement Ideas and community posts: we urgently need more upvotes on these suggestions.
If you concur, please upvote the main request for each topic.

Extended Timeout Durations
This enhancement would facilitate scenario interoperability and API calls to other services requiring longer processing times (like AI services):

Pagination Integration
This would aid in managing scenario interoperability, though we still lack the capability to send chunked responses to webhooks. Nevertheless, it would be beneficial for numerous API integrations:

Chunked Webhook Responses
This would help manage scenario interoperability by assisting in bypassing the HTTP app's timeout limit and enabling scenarios to paginate their content.

Scenario Outputs
We have both a "callin.io - Run a Scenario" and a "Scenarios - Run a Scenario" module, but neither returns the output of the called scenario. This means we can invoke different scenarios but cannot retrieve their outputs. Again, callin.io's support team's solutions are not sufficient, as Data Stores are not the optimal method for scenario interoperation. It seems clear that we need the ability to obtain output from a sub-scenario.

Please provide your upvotes for these suggestions.

 
Posted : 28/11/2024 11:22 am
Henk-Operative
(@henk-operative)
Posts: 11
Active Member
 

Hi,

Thanks for taking the time to set this out. I see many good improvements and I agree with this.

Have you tried building your own HTTP module that meets your requirements, using the Custom App Development documentation?

You still can’t bypass callin.io’s timeout with this, but it gives you free control in handling pagination and page sizes and rate limits. (timeout is even worse at 40 seconds, I realize now)

For requests where it simply takes too long for a response to be returned (often with AI models), I use Xano as a proxy:

  1. HTTP in callin.io to Xano endpoint to start the flow (including a Webhook URL from a separate scenario).
  2. Xano calls the external service, waits for the response
  3. Xano formats the response and sends it to the given Webhook URL
  4. Process the full response in callin.io as I wish.

In combination with a Custom App, I can quickly set up a proxy call with Xano with whatever service I want. But you should know that I am really into building advances stuff, this is not what regular callin.io users should have to do.

Cheers,
Henk

 
Posted : 28/11/2024 11:42 am
prolingua
(@prolingua)
Posts: 3
Active Member
Topic starter
 

My subsequent effort involved constructing my own HTTP module implementation. I've recognized my significant dependence on scenarios communicating with each other, leading me to believe I'll eventually need to handle this independently.

I appreciate the proxy concept. I was contemplating how to establish a similar system within callin.io. My primary challenge is that I frequently utilize a master scenario that invokes a series of sub-scenarios, and transitioning to a completely different architecture demands considerable time. I will definitely explore Xano, which appears to be a more sophisticated and expensive alternative to callin.io, but perhaps I can achieve this using callin.io scenarios or a custom application.

I have no intention of appropriating your work, but do you have any recommendations regarding custom application development?

 
Posted : 28/11/2024 1:29 pm
Henk-Operative
(@henk-operative)
Posts: 11
Active Member
 

I utilize both callin.io and Xano, and I'm very pleased with both platforms. callin.io is excellent for automation, though less suited for backend operations. (You definitely wouldn't want to manage your web application's database within a Data Store!) Xano's capabilities are extensive; you can perform highly complex operations within its function stack, including Lambda functions. It's a fantastic tool for managing your entire backend, covering databases, servers, and APIs. The power it offers without requiring any code is remarkable.

Here is a 10% off affiliate link for Xano: Xano

Regarding custom apps, if you're new to this, a good starting point is to follow the custom app development badge on the Partner Training platform. The custom app development documentation is also available.

My implementation involves a Custom App for my company, 'Operative,' which includes several tools and modules I use daily. One of these modules is Xano. Within Xano, I've set up pre-built endpoints, each corresponding to an external service. In the callin.io module, I can choose the service, the connection, the response webhook URL, and the payload. The module then handles the rest.

Best regards,
Henk

 
Posted : 28/11/2024 3:04 pm
prolingua
(@prolingua)
Posts: 3
Active Member
Topic starter
 

That’s fantastic work you're doing. Thank you kindly for the links.
I'll keep this post open and won't mark your answers as a solution since the topic is still focused on callin.io improvements.

 
Posted : 28/11/2024 4:16 pm
Share: