Media Attachment Action
This action will hold the conversation and wait for the user to send a valid media attachment. The conversation will hold until the user send the required media or, when allowed, skips the question.
The action uses the following settings:
Wrong User Input Reply
This is the text that will be displayed if the user input does not match the control expression
Reply Pick Mode
When using multiple Wrong Input Reply lines, this option controls how replies are chosen.
Max Wrong Answers
The maximum number of wrong inputs the user can send before the question is skipped. Set to 0 (zero) to never give up on wrong inputs.
The user is allowed to upload a photo as a reply to this action
The user is allowed to upload audio as a reply to this action
The user is allowed to upload a video as a reply to this action
The user is allowed to upload any document as a reply to this action
The user is allowed to upload its GPS position as a reply to this action
Never Skip Question
The question cannot be skipped by user. The input will repeat indefinitely until the control expression is matched or the maximum number of wrong inputs is reached
Intent Skip Question
The user can skip the question if his reply matches a specific intent
Text Skip Question
The user can skip the question if his reply matches a specific text or Regular Expression
This action is halting the conversation. The chatbot is halted at the input point and will not proceed unless the conditions specified in the settings are met.
Depending on the channel and on specific user privacy settings, not all forms of attachment may be available.
If the maximum number of wrong answers is reached the Successful User Input will still be triggered: you should check the contents of your Target Variable to verify if the input was successful or not.
Reply Pick Mode options will pick a wrong reply (if more than one is specified) in the following way:
The reply will be picked randomly from the list of possible replies
The bot will pick the first reply at the first wrong input, then the second and so on. The bot will keep saying the last one when the end of the lis is reached
Similar to list, except that when the end of the list is reached, the bot will restart from the first answer
Successful User Input. This action will trigger any child operation as soon as the user input is matching the specified Control Expression.
This action produces the following variables after being triggered:
The full url of the user attachment pointing to your Xenioo storage.
Contains the type of attachment sent by the user
The number of times the user has failed to match the control expression
True if the maximum number of wrong inputs has been reached. Otherwise empty
The latitude value if the user sends his position as attachment
The longitude value if the user sends his position as attachment
The full address related to the supplied longitude and latitude. Not all channels are capable of supplying this information
The location name (monument, business etc) of the supplied longitude and latitude. Not all channels are capable of supplying this information
Channel specific availability follows the table below:
Not Available. Alexa does not allow direct input halting.
This action can be used only inside interactions and not as child of other actions.