# How to Transfer bot-\>human in App DialogFlow

**URL:** <https://forums.rocket.chat/t/how-to-transfer-bot-human-in-app-dialogflow/8092>\
**Category:** Community Support\
**Created:** [August 11, 2020, 1:51pm UTC](https://forums.rocket.chat/t/how-to-transfer-bot-human-in-app-dialogflow/8092 "2020-08-11T13:51:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![leolage](https://avatars.discourse-cdn.com/v4/letter/l/9de0a6/32.png) [@leolage](https://forums.rocket.chat/u/leolage)\
**Post date:** [August 11, 2020, 1:51pm UTC](https://forums.rocket.chat/t/how-to-transfer-bot-human-in-app-dialogflow/8092/1 "2020-08-11T13:51:12Z")

</div>

### Description

Hi,

I configure DialogFlow via APP resource on RocketChat, and work. Clients can speach with bot via DialogFlow, but when customer choice a option to talk with a human, how can I transfer to Department?

Thanks for help

### Server Setup Information

- Version of Rocket.Chat Server: 3.5.0
- Operating System: Centos 7

---

<div class="post-metadata">

**Author:** ![renato.becker](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/renato.becker/32/532_2.png) [@renato.becker](https://forums.rocket.chat/u/renato.becker)\
**Post date:** [August 11, 2020, 9:12pm UTC](https://forums.rocket.chat/t/how-to-transfer-bot-human-in-app-dialogflow/8092/2 "2020-08-11T21:12:23Z")

</div>

Hi @leolage

There are, at least, two ways to handoff conversations from the chatbot to a human agent.  
The first one is to use the app setting called **Fallback Responses Limit**. This feature does exactly what you are looking for, it’s based on the number of fallback responses sent by the chatbot agent in a row, so when the agent is not able to answer the user and the number of fallback responses limit is reached, the handover takes place. The **Target Department for Handover** setting needs also to be filled in order to execute the handover process.  
The other option you have is to perform the handover through a fullfilment server, so you can design you chatbot to call the following Omnichannel REST API endpoint:  
[https://docs.rocket.chat/api/rest-api/methods/livechat/room#forward-livechat-room](https://docs.rocket.chat/api/rest-api/methods/livechat/room#forward-livechat-room)

---

<div class="post-metadata">

**Author:** ![jaime](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/jaime/32/2984_2.png) [@jaime](https://forums.rocket.chat/u/jaime)\
**Post date:** [July 18, 2021, 8:25pm UTC](https://forums.rocket.chat/t/how-to-transfer-bot-human-in-app-dialogflow/8092/3 "2021-07-18T20:25:30Z")

</div>

Hi @leolage,

I did it by following this:

> <https://github.com/RocketChat/Apps.Dialogflow/blob/master/docs/api-endpoints/perform-handover.md>

---

<div class="post-metadata">

**Author:** ![mwaichman](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/mwaichman/32/3589_2.png) [@mwaichman](https://forums.rocket.chat/u/mwaichman)\
**Post date:** [March 22, 2022, 3:38am UTC](https://forums.rocket.chat/t/how-to-transfer-bot-human-in-app-dialogflow/8092/4 "2022-03-22T03:38:16Z")

</div>

I need to understand how did you call this POST API from DialogFlow, I only find Fulfillment. Could you clarify ?

---

<div class="post-metadata">

**Author:** ![herbert\_15](https://avatars.discourse-cdn.com/v4/letter/h/a9adbd/32.png) [@herbert\_15](https://forums.rocket.chat/u/herbert_15)\
**Post date:** [June 2, 2022, 4:27pm UTC](https://forums.rocket.chat/t/how-to-transfer-bot-human-in-app-dialogflow/8092/6 "2022-06-02T16:27:41Z")

</div>

> [@mwaichman](#):
>
> I need to understand how did you call this POST API from DialogFlow, I only find Fulfillment. Could you clarify ?

That’s exactly what I didn’t understand either. Did you solve your problem?
