# How to create an Instagram/Facebook DM automation in Synamate

{% embed url="<https://www.loom.com/share/7fc99841eba64a92a5a5f97479370437?hideEmbedTopBar=true&hide_share=true&hide_title=true&sid=b3d01c14-35ef-4ced-95b8-dc123f15ec47?hide_owner=true>" %}

**NOTE: The filters are not Case Sensitive**

The above video contains:

1. Triggering automation based on the Keyword in different methods and channels
2. Dividing the leads based on the app (i.e. instagram DM or Facebook DM) using if else condition
3. Setting up the auto reply and formatting it which is sent back to the leads.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.synamate.com/docs/how-to-tutorials/how-to-create-an-instagram-facebook-dm-automation-in-synamate.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
