This video explains nicely how:
In this tutorial, we will cover how to bring data from an external RESTful endpoint into a query response using Dgraph Lambda. This is great when you have existing or 3rd party RESTful services that contain data that you need in your GraphQL response but don’t want to persist in the database.
https://www.youtube.com/watch?v=YW913kNpc6U
My question how to go about when I DO want to persist the REST API response data in the database?