Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • template-chatbot-front template-chatbot-front
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Karen Palacio
  • template-chatbot-fronttemplate-chatbot-front
  • Issues
  • #14
Closed
Open
Created Oct 19, 2020 by Karen Palacio@k.palacioOwner

Send customData with get_started

image

Hacer un map para que lo siguiente no esté hardcodeado y sirva para cualquier tipo de info inicial: image

src/components/Widget/index.js

      console.log('sending init payload', sessionId);
      // soft-code this
      //map(f)
      //where f key value={key :  value}
      //falta ver cómo extraer key y value de customData
      const data = JSON.stringify({"hos_name": customData.hos_name})
      socket.emit('user_uttered', { message: initPayload+data, customData, session_id: sessionId });
      dispatch(initialize());
Edited Oct 19, 2020 by Karen Palacio
Assignee
Assign to
Time tracking