Automate testimonials in Strapi with n8n
Needs changesWhat this workflow does
This workflow has 14 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Strapi, X (Formerly Twitter) and Google Cloud Natural Language.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Simplify Webhook Result (Edit Fields (Set)): sets or maps fields
- Search Tweets (X (Formerly Twitter)): search
- Analyze Form Submission (Google Cloud Natural Language): uses Google Cloud Natural Language
- Merge: merges the data from its input branches
- Simplify Result (Edit Fields (Set)): sets or maps fields
- Positive Form Sentiment? (If): checks a condition and branches into true / false
- Is Retweet or Old? (If): checks a condition and branches into true / false
- Store Form Submission in Strapi (Strapi): create
- Analyze Tweet (Google Cloud Natural Language): uses Google Cloud Natural Language
- Merge: merges the data from its input branches
…plus 2 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- Interval in Every 30 Minutes: replace with Schedule Trigger.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| Interval Every 30 Minutes | Schedule Trigger |
Nodes used (8)
- Edit Fields (Set)
n8n-nodes-base.set - Strapi
n8n-nodes-base.strapi - Interval
n8n-nodes-base.interval - If
n8n-nodes-base.if - X (Formerly Twitter)
n8n-nodes-base.twitter - Webhook
n8n-nodes-base.webhook - Google Cloud Natural Language
n8n-nodes-base.googleCloudNaturalLanguage - Merge
n8n-nodes-base.merge
From the author
This is the workflow powering the n8n demo shown at StrapiConf 2022. The workflow searches matching Tweets every 30 minutes using the Interval node and listens to Form submissions using the Webhook node. Sentiment analysis is handled by Google using the…