function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
alex chernikalex chernik 

Callout from Apex each 5 sec to external app

I have an integration (using REST) with externl app and I need to get information from this app each 5 seconds. I have enough API callout numbers on my org.
But it should in the backend. Schedule jond is not enought (100 max)
Can we probably use Heroku or do you know some other approach?
Thank yu
SwethaSwetha (Salesforce Developers) 
HI Alex,
If it is just data, you could create an external object that fetches real-time data from the external system.

See related: https://help.salesforce.com/articleView?id=external_data_sources.htm&type=5
https://help.salesforce.com/articleView?id=sf.platform_connect_about.htm&type=5

If this information helps, please mark the answer as best. Thank you
alex chernikalex chernik
Thank you Swetha!
But I see that it is extra cost:
"Salesforce Connect is available in: Developer Edition and for an extra cost in: Enterprise, Performance, and Unlimited Editions"
https://help.salesforce.com/articleView?id=sf.external_data_source_define.htm&type=5