Google Assistant: Build an Application with Dialogflow and Cloud Functions
Create a Dialogflow agent and configure the default welcome intent.
Build a custom intent with entities.
Initialize a Cloud Function and add fulfillment logic and packages to your Cloud Function.