File Component

Last updated: 08th March, 2021

Introduction


File component will allow you to reply with a file. It has 1 input socket and 2 output sockets.

  • Input: Reply
  • Output: Next, QuickReplies

Next or QuickReplies!?

There is a condition between Next and QuickReplies. Using either Next or QuickReplies, you can connect to other components. But you can't connect to others from both.

Connections

Reply may get connection from one of the following components:

  • Start Bot Flow, New Postback, Text, Carousel, Facebook Media, Image, Video, Audio, File, Ecommerce, Generic Template, OTN

Next may be connected to the following components:

  • Text, Carousel, Facebook Media, Image, Video, Audio, File, Ecommerce, User Input Flow, Generic Template, OTN

QuickReplies may be connected to the following component:

  • Quick Reply - you may connect up to 11 QuickReply components to the File component.

How to create

Let us see how we can create a reply with a file component.

Dragging and Dropping

From the dock menu, drag the File component and drop it on the editor at any place.

Adding Data

To add data to the File component, click twice on the body of the File component. It will open a sidebar on your right. Fill in the fields that you need.

Delay in Reply

If you want to show the typing state on the bot or delay in replying, then you can use those fields.