The Facebook Messenger bot sends direct messages (DMs) in Chrome, sourced from a Google Sheet. It cycles through profile links in the sheet, opens them in Chrome, clicks on the message button, types a message, and presses return to send. After sending a message, the bot deletes the row and proceeds to the next profile.
# Get started: Set up your Google Sheet
Create a new Google Sheet. You can do this in your Chrome browser by typing 'sheet.new' into the address bar, assuming you have a Google account. Name your sheet something like 'Facebook Messenger bot’. Set up a tab with profile links to message.
# Install the Facebook Messenger bot
To install this Facebook Messenger bot, click 'Install template'. If you’re a new user, you’ll have to click 'Install Chrome extension', then create a free Axiom.ai account to edit the template.
Once installed, click 'Start'.
Axiom.ai will guide you through the steps you need to configure in the app.
# Configure your Facebook Messenger bot in four easy steps
- Step 1.0 - Read data from a Google Sheet
- Spreadsheet - Search for the Google Sheet you created. Once found, click to select
- Sheet name - Choose the tab with the Facebook profile links
- Step 2.0 - Loop through data
- Step 2.1 - Go to page: Profile page
- Enter URL, click 'Insert data', choose 'google-sheet-data', and select the column with Facebook profile links.
- Step 2.2 - Click Element: Message
- Preconfigured
- Step 2.3 - Enter Text: Message
- Text - input message to be sent
- Step 2.1 - Go to page: Profile page
- Step 2.2 - Press Key(s): Send message
- Preconfigured
- Step 2.5 - Delete rows from a Google Sheet
- Spreadsheet - Search for the Google Sheet you created. Once found, click to select
- Sheet name - Choose the tab with Facebook links
- Preconfigured
# Run your Facebook Messenger bot
To test this Facebook Messenger bot, disable step 2.2 to prevent messages being sent. If you wish to schedule the bot add steps to login.
# Customize your template
Like all Axiom templates, you can use our no-code bot builder to customize any bot according to your requirements. For example Step 2.3 you could personalise the message by passing in a name from the Google Sheet, simply click 'Insert data'.
# Tips
We recommend you watch the video to troubleshoot. If you wish to schedule the bot you will need to share the Cookie in settings or add steps to login.
- Step 2.0 - Loop through data
- Step 2.1 - Go to page: Profile page
- Enter URL - Click 'Insert data' select [google-sheet-data] then append '/discography/all' after the token
- Steps 2.2 Click element: Message
- Message button is not clicked? Click 'Select' and reselect the button
- Step 2.3 - Enter text: Message
- Preconfigured
- Step 2.4 - Press key(s): Send Message
- If the message is not being sent? Try re-recording the return key action
- Step 2.1 - Go to page: Profile page
We offer excellent customer support. If you need help, get in touch.