Fulfillment is code that's deployed as a webhook that lets your Dialogflow agent call business logic on an intent-by-intent basis. During a conversation, fulfillment allows you to use the information extracted by Dialogflow's natural language processing to generate dynamic responses or trigger actions on your back-end.
Most Dialogflow agents make use of fulfillment. The following are some example cases where you can use fulfillment to extend an agent:
- To generate dynamic responses based on information looked up from a database.
- To place orders based on products a customer has asked for.
- To implement the rules and winning conditions for a game.