The Instagram Ref URL trigger in Manychat is a versatile tool that helps you direct people straight to your Instagram DM through a specific URL, automatically starting a conversation.
You can use this feature for various purposes. Whether you’re driving traffic from loyalty programs, newsletters, or other channels, the ref URL creates a seamless entry point into your Instagram automation.
This tool is particularly useful for campaigns, promotions, or customer support. It allows you to engage users in real time and pass and save important data, such as names or affiliate IDs, into custom user fields (CUF) when someone clicks on the link.
By sharing this unique URL across multiple platforms—emails, social media posts, or your website—you can capture leads, nurture relationships, and drive meaningful interactions with your audience, all while keeping everything organized within Manychat.
| The Instagram Ref URL trigger is currently supported only on the Instagram mobile app. This functionality is not available on the desktop version of Instagram. |
In this article, we'll walk you through how to set up and make the most of the Instagram ref URL trigger to boost engagement and enhance your user experience.
How to set up an Instagram Ref URL trigger
- Open your Manychat workspace and click the Automation tab in the sidebar.
- Click the + New Automation button.
- Click + Start From Scratch.
- Select the Start with a blank option.
- Once the Flow Builder opens, click the +New Trigger button.
- Select the User clicks a referral link trigger from the Instagram tab.
- Next, the panel opens, where you can find your referral link.
- Click Copy URL to copy the link.
- If you want to change the link, switch the toggle on for the Additional settings.
- Here you can change how the link looks after "Ref" to make the URL more user-friendly.
- Also, you can select to save your data, like names or affiliate ID, to custom fields of your choice when someone clicks on the link.
- Click Save to add the trigger.
After copying the Ref URL, add the data you want to store in a Custom Field to the end of the link using --, as shown in the example below.
https://ig.me/m/accounthandle?ref=manychat_giveaway--data
Set up an automated message in DMs
The Ref URL trigger is just the starting point. To turn engagement into a real conversation, you need to send a private message.
That’s why the next step is to add at least one Instagram message to your flow — this is what brings the automation to life and allows you to publish and run it successfully.
To add a message to your automation:
- Go back to the automation containing your Instagram Ref URL trigger.
- Add a next step: select Instagram to add a Send Message node to your automation.
- Make sure that the Send within 24 hours option is selected. Since the user already opted in to receive messages from you, you have to communicate with them within the allowed 24-hour period.
- You can select to simply reply with a text message, or add a button, Quick Reply, link, or any other available content block.
- After configuring the first reply, you can continue building the rest of your automation as needed.
- To see how it works, you can click the Preview button at the top of the Flow Builder.
- You can choose to preview the automation either in Manychat or directly on Instagram.
- The second option lets you see everything exactly as your audience will experience it. Click the arrow icon next to the Preview button to select the preview mode.
- Once you’ve finished setting up the automation, click the Set Live button.
Due to Meta’s current limitations, Conversation Starters must be enabled for the Instagram Ref URL trigger to work for new users. If a user hasn’t interacted with your account before and Conversation Starters aren’t set up, they’ll need to send a message manually to trigger the automation. For users with an existing DM conversation, the Ref URL trigger will work as expected.
Also, if a user opens Instagram DMs via a Ref URL and clicks a Conversation Starter, they won’t receive the response linked to that starter. Instead, the message from the Ref URL trigger will be sent.