# Сommunication protocol beetween User App connector and User App module
#### From connector to module
```
{
event, (string with name of the next event whicm module will handle)
pack: {
msg (`Internal message`),
module: { fullName (`mongo id of module`) },
data: {
workspace: {
...workspace,
timeOut: workspace.timeOut * 1000
(`convert from miliseconds to seconds`),
},
params: conversationFlowParameters,
extraInfo: extraInfo (`From google bucket parameters.json)`,
},
},
},
```
#### From module to connector
```
{ events: [
{
statusCode,
{ name: moduleEvents.changeConversationFlow, value: `directMessaging` }
},
{
statusCode,
name: moduleEvents.send.message,
message,
update: {
entityToId
botTo: {
fullName (`mongo if of platformConnector-bot platform`),
},
platformToId,
},
},
...
],
}
```