Set Up Cereba to Reply to Facebook Messages

Learn how to use Cereba.ai with GoHighLevel to respond to Facebook messages

Incorporating Cereba AI for Facebook Messenger on GoHighLevel allows you to automate customer interactions effectively. This guide will walk you through the setup process to integrate Cereba AI with your GoHighLevel workflows, enabling automated AI-driven conversations specifically for Facebook Messenger.

Before Getting Started

  • Ensure you've added the Cereba Custom Fields within the Cereba App.
  • Make sure you have created your AI Campaign in Cereba. This will make your new campaign accessible with the Cereba Campaign ID field in HighLevel

How Cereba Enhances Your HighLevel Workflows

Cereba’s integration with GoHighLevel allows you to connect existing workflows to automate responses specifically for Facebook Messenger, including booking appointments and more.

You’ll need to create three essential workflows:

  1. Process Message - Continues the conversation and processes additional messages from Facebook Messenger.
  2. Send Message - Sends messages through GoHighLevel specifically via Facebook Messenger.

Option 1: Setting Up Cereba for Live Chat Exclusively (No Other Channels)

Workflow 1: Processing Messages with Cereba AI

This workflow captures messages sent via Facebook Messenger and forwards them to Cereba for processing.

Step 1: Create a New Workflow

  • Go to "Workflows" in GoHighLevel and select "Create Workflow."
  • Name your workflow "Cereba AI - Process Message."

Step 2: Set the Workflow Trigger

  • Under the "Builder" tab, add a new trigger.
  • Choose "Customer Replied" from the "Workflow Trigger" dropdown.
  • Set FILTERS to:some text
    • "Reply Channel" - Select "Facebook Messenger
    • Tip: If you want to limit your trigger to specific Cereba AI Campaigns, you can add the "Cereba Campaign ID" field as another filter here.

Step 3: Add 'Send to Cereba' Webhook Action

  • Add a Webhook action.
  • Set the Webhook Method to POST and URL tosome text
    • https://api.cereba.ai/message/new

Workflow 2: Sending the Cereba AI Response

This workflow manages the response from Cereba, sending it back to the customer via Facebook Messenger.

Step 1: Create a New Workflow

  • Name it "Cereba AI - Send Message."

Step 2: Set the Trigger

  • Choose "Contact Changed" from the "Workflow Trigger" dropdown.
  • FILTERS: "Cereba Response" "Has Changed".

Step 3: Add 'Send Messenger Message' Action

  • Add the “Send Messenger Message” action, using the "Cereba Response" custom field for the message content.

Option 2: Setting Up Cereba for Facebook Messenger Along with Another Channel Like SMS

This setup is ideal for businesses that want to manage Facebook Messenger alongside other communication channels such as SMS within GoHighLevel, using Cereba AI to automate responses across multiple platforms. Here’s how to configure it:

Workflow 1: Processing Messages with Cereba AI

This workflow captures messages from both Facebook Messenger and SMS, routing them to Cereba for processing. It uses conditional logic to handle the different channels.

Step 1: Create a New Workflow

  • Navigate to "Workflows" in GoHighLevel and select "Create Workflow."
  • Name your workflow "Cereba AI - Process Message."

Step 2: Set the Workflow Trigger

  • Under the "Builder" tab, add two new triggers:some text
    • Trigger 1: Customer Replied - SMS
    • Trigger 2: Customer Replied - Facebook Messenger
  • Set FILTERS for each to match the corresponding reply channel.

Step 3: Add Conditional Logic

  • Add an "If/Condition" step to create two branches in the workflow:some text
    • Branch 1: If Workflow Trigger is Facebook Messenger.
    • Branch 2: If Workflow Trigger is SMS.

Step 4: Update Contact Fields for Facebook Messenger

  • In the Facebook Messenger branch, add an action to update contact fields.
  • Set "Cereba Campaign ID" to use your specific Cereba AI Campaign that you created for Facebook Messenger

Step 5: Send to Cereba Webhook

  • For both branches, add the Webhook action.
  • Set the Webhook Method to POST and URL to https://api.cereba.ai/message/new

Workflow 2: Sending the Cereba AI Response

This workflow manages responses from Cereba, sending them back to the customer through the appropriate channel.

Step 1: Create a New Workflow

  • Name it "Cereba AI - Send Message."

Step 2: Set the Trigger

  • Choose "Contact Changed" from the "Workflow Trigger" dropdown.
  • FILTERS: "Cereba Response" "Has Changed".

Step 3: Add Conditional Logic for Response Delivery

  • Add an "If/Condition" step to check the "Cereba Campaign ID"
    • If Campaign is (your Cereba Campaign ID): Use the "Send Messenger Message" action.
    • Otherwise: Use the "Send SMS" action.
  • Ensure the "Cereba Response" custom field is included in the message content for both actions.

Testing and Troubleshooting

  • After setting up the workflows:some text
    • Ensure you have a test contact with the correct Cereba Campaign ID for your SMS channel when testing that pathway.
    • Test them by initiating conversations via Facebook Messenger and SMS.
    • Check if the responses are correctly routed and formatted based on the channel used.
    • Ensure "Cereba Disabled" is not checked.
    • Verify that the contact is not marked DND.
    • Check audit logs to see the workflow progression.
    • Confirm webhook and message settings are correct.

Conclusion

With Cereba set up for Facebook Messenger on GoHighLevel, you can automate sophisticated interactions without extensive coding or AI expertise. This integration not only enhances customer engagement but also streamlines your communication workflows, allowing you to focus more on strategic business activities.