Hangouts Interactive cards: how to add text fields?

115 views Asked by At

Can we design an interactive card with a text filed? I went through the documentation, i couldn't find any idea on how to create

  1. checkbox
  2. text field

can someone help me in this matter?

1

There are 1 answers

0
Alessandro On

Considerations

At the moment there are no such widgets available. You can only interact with buttons or clicking on text paragraphs.

You should definitely request this as a new feature if it's fundamental for your workflow.

Proposed workaround

However, since this is a messaging App you can build a system that uses the very same "reply" feature in order to get back the user input and therefore simulate a text field.

Respond to message events

You can play with the message events in order to parse the reply and use it in your application and provide an appropriate answer to your users.

Build your prompts based on custom commands

You can also create custom commands to trigger different input requests if you want to.

References

Events

Custom commands