How to create ticket via Facebook bot ?

Step 1: Create Facebook Chatbot Workflow

  1. Go to the Bot Builder section.

  2. Click on Create Workflow.

  3. Select Facebook Page Chatbot.

  4. Choose the Hot Keyword trigger.

  5. Select the appropriate Facebook Page Channel.

  6. Enter a trigger keyword (e.g., demo tickets).

  7. Click Save.


Step 2: Ask Customer for Details

  1. Add a Question Block to ask for the Name.

    • Save this response to a Custom Field (e.g., customer_name).

  2. Add another Question Block to ask for the Phone Number.

    • Save to a Custom Field (e.g., customer_phone).

  3. Add a third Question Block to ask for the Email ID.

    • Save to a Custom Field (e.g., customer_email).

  4. Click Save.


Step 3: Create QR Ticket

  1. Add an Automation App Block.

  2. Select the Tickets App, then choose "Create New QR".

  3. Choose an existing Authentication, or create a new one by entering your ID and Password.

Fill in Required Fields:

  • Event ID:

    • Go to the Events Section, copy the Event ID, and paste it here.

  • Name: Map from customer_name custom field.

  • Phone Number: Map from customer_phone.

  • Email ID: Map from customer_email.

  1. Click Run and Save.

  2. Once you receive a Success Message, click Save.


Step 4: Send QR Ticket via Messenger

  1. Add a Send Message Block with Image.

  2. Customize your message:

  • Title: “🎟 Your QR Ticket”

  • Subtitle: “Show this QR code at the entry”

  • Image: Map the QR Code URL from the previous ticket step.

  1. Click Save.


Step 5: Save the Workflow

  1. Click Save Workflow to activate the bot.


🎉 Result:

Now, whenever a user sends the trigger keyword (e.g., demo tickets) to your Facebook Page:

  • The chatbot will collect their details,

  • Automatically generate a ticket with a QR code,

  • And send the QR ticket directly to their Facebook DM.

Bot Flow Template

/products/bot/flow/7836acee4748f3c11a277d3638979a13

Last updated