Sending direct messages on social media

This guide will present a generic method of sending direct messages from social media accounts, without going into the specifics over the platform it's posted to.

# Getting started


Let's review what you are going to need to get started:

  • An Axiom.ai account and the extension installed
  • A social media account

# Building your automation


Every social media posting automation has a few basic ingredients that we are going to be looking at. We are going to want to navigate to the site that we are posting to, write a post and then submit it to the platform.

# Step 1: Navigating to the account


Navigating to the account can be done by using the Go to page step within Axiom.ai, the link to the page where the post can be created should be used within this step. Recommendation: using links directly to the chat functionality of the platform you're automating, or directly to the "compose" option, will provide a better experience.

If you have a list of accounts that you want to send direct messages to, you can store the links to the profiles or conversations in Google Sheets or Excel and use the Loop through data step to loop your actions.

# Step 2: Writing your message


Next, we will want to actually create the message. You may first need to use Interaction steps within your automation to navigate the website to get to the point where you can write your message.

Once you are ready to write your post, use the Enter text step to write the content. You may find it helpful to store your data in a Google Sheet for ease of updating, for example, if you repeatedly direct message to this account using this automation you may wish to change, or have a list, or messages that you wish to use.

Once you're done, use the Click element step to submit your messages to the site.

# Alternatives: API


Some social media platforms will offer you the ability to post via their API which will mean that you do not need to create the steps required to click through to the website to post your content. For example, see our How to automate Slack with Axiom.ai (opens new window) or How to automate posting to Discord using an Axiom.ai automation (opens new window) guides. Each platform will have it's own specifics and we recommend referring to their documentation for more details.

# Wrapping up


Automating the direct messages on a social media account is quite simple, once you know how to do it. Automating social media can power up your marketing team to enable them to concentrate on more important work. The ability to add this into a larger Axiom.ai workflow enables you to make use of our Google Sheet and Excel integrations, as well as other features that we offer such as bypassing bot detection and the ability to solve CAPTCHA.