This is an example solution architecture diagram from the Building Forms Decision Guide that shows a connection to an external data source via an HTTP Callout in Flow and an HTTP Action in OmniStudio.
Screen Flow, OmniStudio