# Workflow Recipes - Facebook comments + Workflow AI

> Create a workflow from this recipe to get an example of an AI-customized reply comment that also sends a DM only if the comment was positive. Trigger…

- Source: https://docs.ghlcustomercare.com/docs/workflows/workflow-recipes/workflow-recipes-facebook-comments-workflow-ai
- Section: Workflows / Workflow Recipes
- Reading time: 1 min
- Images: 1, each explained below
- Modified on Tue, 8 Apr, 2025 at 4:23 PM

---
Create a workflow from this recipe to get an example of an AI-customized reply comment that also sends a DM only if the comment was positive.

1.  Trigger: fires on any first level comment in the post.
2.  Action: send the comment to OpenAI with a short prompt asking for a good response.
3.  Action: reply in comments with the AI response.
4.  Action: send the original comment to OpenAI for a sentiment analysis and split the workflow by positive or negative.
5.  Action: when positive, send an interactive DM.

![Figure 1](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/155041915247/original/yZ3qAcufb-Q9EHkjkPiZP8b-RmpoN_mTWQ.png)

**Figure 1**

This screenshot appears in "Workflow Recipes - Facebook comments + Workflow AI". The text alongside this image reads: Trigger: fires on any first level comment in the post. Action: send the comment to OpenAI with a short prompt asking for a good response. Action: reply in comments with the AI response. Action: send the original comment to OpenAI for a sentiment analysis and split the workflow by positive or….
- What this covers: Trigger: fires on any first level comment in the post. Action: send the comment to OpenAI with a short prompt asking for a good response. Action: reply in comments with the AI response. Action: send the original comment to OpenAI for a sentiment analysis and split the workflow by positive or negative. Action: when positive, send an interactive DM.

Full procedure:

1. Trigger: fires on any first level comment in the post.
2. Action: send the comment to OpenAI with a short prompt asking for a good response.
3. Action: reply in comments with the AI response.
4. Action: send the original comment to OpenAI for a sentiment analysis and split the workflow by positive or negative.
5. Action: when positive, send an interactive DM.

---

Documentation for GHL Customer Care. Support: support@ghlcustomercare.com