Instagram DMs Automation avatar
Instagram DMs Automation

Pricing

$18.00/month + usage

Go to Store
Instagram DMs Automation

Instagram DMs Automation

Developed by

Deepanshu Sharma

Deepanshu Sharma

Maintained by Community

Instagram DM Automation Automatically send direct messages to multiple Instagram users using your session ID. Customize the message, delay, proxy settings, and number of users for safe, efficient outreach.

5.0 (2)

Pricing

$18.00/month + usage

1

Total users

27

Monthly users

27

Runs succeeded

>99%

Last modified

5 days ago

Instagram DM Automation

Automatically send personalized direct messages (DMs) to multiple Instagram users using this Apify Actor!

This Actor helps you perform safe and efficient outreach by allowing you to customize your message, set delays between messages, configure proxy settings, and control how many users you target.


How It Works

The Actor logs into Instagram using your Session ID and sends your custom message to each username you specify in the input.
You can configure the delay between each message to avoid triggering Instagram’s anti-spam systems.


Input Parameters

FieldTypeDescription
sessionidStringYour Instagram session ID for authentication. (Required for login)
target_usernamesArray of StringsList of Instagram usernames you want to message.
messageStringThe direct message you want to send.
delay_between_messagesIntegerDelay between messages (in seconds). Default is 60 seconds.
proxyObjectProxy configuration. (Default: Apify Residential proxies)
max_usersIntegerMaximum number of users to message. Set to 0 for unlimited messaging.

Example Input

{
"sessionid": "your-instagram-sessionid-here",
"target_usernames": ["user1", "user2", "user3"],
"message": "Hey! Just wanted to reach out :)",
"delay_between_messages": 45,
"proxy": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"]
},
"max_users": 100
}

Example Output

{
"username": "example_user",
"user_id": "12345678",
"thread_id": "87654321",
"status": "success",
"message": "Hello, this is my message!"
}

⚠️ Important Warnings

Ensure your Instagram account follows Instagram's DM limits to avoid or getting banned (5 per run , 30-40 max user per day).

Always use a reasonable delay between messages! If you send DMs too quickly without a proper delay (like sending every second), Instagram may detect spam-like behavior. This can result in:

Temporary action blocks (can't DM or perform actions for hours or days)

Temporary account suspension

Permanent account ban

Avoid messaging a large number of users at once without delays! Attempting to send DMs to hundreds or thousands of users quickly can seriously risk your Instagram account being flagged, limited, or banned.

Use proxies for added safety. Proxies (especially Residential proxies) help hide your real IP address and reduce the chance of detection by Instagram.

Your Session ID must stay valid. If your session expires (you log out everywhere, reset password, or Instagram detects suspicious activity), you will need to generate a new session ID.

Use responsibly! Always comply with Instagram’s Terms of Service. This Actor is intended for ethical, respectful communication only, not for spam or unsolicited mass messaging.