Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outgoing Webhook - USER.SUBMIT_FORM_DATA #63

Open
Salzy opened this issue Feb 5, 2020 · 1 comment
Open

Outgoing Webhook - USER.SUBMIT_FORM_DATA #63

Salzy opened this issue Feb 5, 2020 · 1 comment

Comments

@Salzy
Copy link

Salzy commented Feb 5, 2020

Hey @rogeru

I'm not quite sure if it belongs here but i do have a feature request about the outgoing webhook USER.SUBMIT_FORM_DATA response.

Currently, whenever I submit a form, I get the following response (i.e. basically Trivia-example):

{ deliveryId: '45913582-2b2f-438c-8009-52ac9bbe70da',
  type: 'USER.SUBMIT_FORM_DATA',
  webhookId: '5b61389e-1f6e-43f9-83bf-af41217d5abc',
  submitFormData: 
   { itemId: 'ddfd5e9e-34cc-4c81-93c2-8097d7e6a4b5',
     formId: 'trivia',
     submitterId: 'f9d448f9-b887-4d2c-aff3-264b396c6da3',
     data: [ [Object], [Object] ] } }

Whenever I want to find out the conversation Id, I basically have to acquire the item information with itemId, which is an additional step.
Would it therefore be possible to add the corresponding convId in submitFormData response directly?

Thanks in advance.

@rogeru
Copy link
Member

rogeru commented Feb 5, 2020

@Salzy yes that would simplify the apps which need the conversation ID. We can add this, but not sure on the timeframe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants