Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ```const databaseEntry = agent.parameters.databaseEntry;
- ```const dialogflowAgentRef = db.collection('dialogflow').doc('agent');
- ```return db.runTransaction(t => {
- `````t.set(dialogflowAgentRef, {entry: databaseEntry});
- `````return Promise.resolve('Write complete');
- I need a explication to create new tables or fields by the agent
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement