Send Facebook Messenger messages from a Google Sheet
How to send Facebook Messenger messages from a Google Sheet: install the Chrome extension, click Build with Browser agent, tell the agent what you want, and follow its prompts. A working bot is built and tested in minutes.
Here is how the automation works. To send Facebook Messenger messages from a Google Sheet, list the profile links in the sheet, loop through them with Loop through data, and for each one open the profile, click Message, type the message with Enter text, and send it with Press key(s). It uses Facebook in your own logged-in browser, so no API is needed. Each row is deleted once sent.
Build the Facebook messages from a description
Describe it and click the button: the agent builds and tests the messenger in your Chrome extension. Runs happen on your own machine with the desktop app, with Facebook logged in in Chrome.
- Read the profile links from my Google Sheet
- Open each profile and click Message
- Type my message and send it
- Delete the row once it is sent
You need a Google Sheet with one profile link per row in column A, a name in column B if you want to personalise the message, and no header row. Put your own profile in the first row to check the first message, and leave the sheet alone while the run deletes each row it has sent.
The video shows the agent building the Facebook Messenger automation from the lines above, in a few minutes.
Build the Facebook messages step by step
The steps the agent builds, as the Builder shows them: each step by its name, with the fields to set under it. Add them yourself in this order in the step-by-step builder, or open the agent's result there to adjust it.
- 1.0
Read data from a Google SheetSpreadsheet: your sheetSheet name: the tab with the profile links in column A
- 2.0
Loop through data- repeats for every row in
[google-sheet-data]
- 2.1
Go to pageURL: column A of[google-sheet-data]
- 2.2
Click elementSelect: the profile's Message button
- 2.3
Enter textSelect text field: the message boxText: your message, with column B of[google-sheet-data]where the name goes
- 2.4
Press key(s)Key: Enter
- 2.5
WaitWait time: 2000
- 2.6
Delete rows from a Google SheetSpreadsheet: your sheetSheet name: the tab with the profile linksFirst row: 1Last row: 1
- repeats for every row in
Common questions about sending Facebook Messenger messages
Why is the Facebook Message button not clicked?
Facebook changes its layout often, so reselect the button in the Click element step. A custom selector with Use element text and the text Message holds up better. When a run fails, hand it to the agent and it repairs the step.
Why is the Facebook message typed but not sent?
The Enter key press is not reaching the message box. Re-record Enter in the Press key(s) step with the message box focused.
Can Facebook block automated messages?
Yes, it can. Facebook limits how many messages an account sends. Keep lists short, add a longer Wait between messages, and message people who expect to hear from you.
Can I personalise each Facebook message with the person's name?
Yes. Put the name in column B of the sheet and insert that column into the message text in Enter text where the name goes; each person gets the message with their own name.
Can I send Facebook Messenger messages in bulk without code or an API?
Yes. The automation drives Facebook in your own logged-in browser, so it needs no Messenger API or developer account, and the agent builds the steps from the lines above.
Can I schedule Facebook messages to send automatically?
Yes, on the desktop app with Facebook logged in on that machine. For cloud runs, save a login and add a Log in with credentials step before the loop; see logins.
Where do I get help?
Get in touch with support, or ask in the axiom.ai community.
Related guides
Send Google Messages to contacts from a Google Sheet
- Read the phone numbers from my Google Sheet
- Open Google Messages and start a chat with each
- Type my message with the person's name and send it
- Delete the row once it is sent
Send X (Twitter) DMs from a Google Sheet
- Open each X profile link in my sheet
- If the profile has a Message button, click it
- Type my message and send it
- Delete the profile from the sheet once done
Close cookie pop-ups and notification prompts automatically
- Open the site's login page
- If a cookie window appears, reject the cookies
- Carry on either way
- Then sign in with my saved login