Additional setup for Gravity Forms surveys
The objective for this example is to only show 4+ star ratings for a Gravity Forms survey.
Step 1
Connect the new form on Fomo using the instructions found here. In Step 4 of that Help Article, we cover how to provide variables to Fomo.
Let's add one more for the rating count. My rating count is saved under the variable "Comment" in my Gravity Forms settings:
![](http://d33v4339jhl8k0.cloudfront.net/docs/assets/6630e7894c3ddc1d4e7a2400/images/66509b9d5940934e140f3d61/Screen_Shot_2018-07-25_at_11.28.26_PM.png)
Step 2
Since I want to show off survey responses with 4 or more stars, I need to make sure my form uses numbers:
![](http://d33v4339jhl8k0.cloudfront.net/docs/assets/6630e7894c3ddc1d4e7a2400/images/66509b9d1f3fa9421e287150/Screen_Shot_2018-07-25_at_11.32.22_PM.png)
Step 3
Great! Now, we have "comment" available as a variable for my Fomo Template. Add the "comment" variable to your notification message:
![](http://d33v4339jhl8k0.cloudfront.net/docs/assets/6630e7894c3ddc1d4e7a2400/images/66509b9ed593d719515c9a02/ratings-template.png)
Step 4
We've just finished the process of providing ratings data to Fomo.
Now, let's add a Template Action to filter events for only 4+ ratings.
Click on the Actions tab, add the below Action, and click "add action +":
![](http://d33v4339jhl8k0.cloudfront.net/docs/assets/6630e7894c3ddc1d4e7a2400/images/66509b9edd0f8c60bb3fc341/gravity_forms_additional_1.png)
You're Done!
![](http://d33v4339jhl8k0.cloudfront.net/docs/assets/6630e7894c3ddc1d4e7a2400/images/66509b9ed593d719515c9a03/Screen_Shot_2018-07-25_at_20.36.49.png)
----------------------------------------------------------------------------------------------------------------------------
You may have unique survey responses and wonder how to turn these into variables for use in your Fomo notification.
Let's consider an example of another survey question with a drag-and-drop response where the respondent "orders" their answers. The Gravity Forms field looks like this:
![](http://d33v4339jhl8k0.cloudfront.net/docs/assets/6630e7894c3ddc1d4e7a2400/images/66509b9f5173914f806c0de2/Screen_Shot_2018-07-25_at_11.42.58_PM.png)
The above response is sent to Fomo like this:
"Dana,Jeff,Dave,Carl,Alex,Kevin,Justin"
If I want my Fomo notification to show off the #1 choice in the response, I'll use markdown to trim after the first comma.
![](http://d33v4339jhl8k0.cloudfront.net/docs/assets/6630e7894c3ddc1d4e7a2400/images/66509b9fdd0f8c60bb3fc342/gravity-survey-drag-drop.png)
Here's what it looks like now:
![](http://d33v4339jhl8k0.cloudfront.net/docs/assets/6630e7894c3ddc1d4e7a2400/images/66509b9fdd0f8c60bb3fc343/fomo-gravity-notification.png)