From a818814ee9b688f77d525f7ae054554dc3c69321 Mon Sep 17 00:00:00 2001 From: Tanay Pant Date: Mon, 2 Nov 2020 10:15:26 +0100 Subject: [PATCH] :bug: Fixes --- .../trigger-nodes/MailerLiteTrigger/README.md | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/docs/nodes/nodes-library/trigger-nodes/MailerLiteTrigger/README.md b/docs/nodes/nodes-library/trigger-nodes/MailerLiteTrigger/README.md index 594b8d849..4cb27c39d 100644 --- a/docs/nodes/nodes-library/trigger-nodes/MailerLiteTrigger/README.md +++ b/docs/nodes/nodes-library/trigger-nodes/MailerLiteTrigger/README.md @@ -5,7 +5,7 @@ description: Learn how to use the MailerLite Trigger node in n8n # MailerLite Trigger -[MailerLite](https://www.mailerlite.com/) is an email marketing solution for all types of businesses. It provides you with a user-friendly content editor, simplified subscriber management, and campaign reports with the most important statistics. +[MailerLite](https://www.mailerlite.com/) is an email marketing solution that provides you with a user-friendly content editor, simplified subscriber management, and campaign reports with the most important statistics. ::: tip 🔑 Credentials You can find authentication information for this node [here](../../../credentials/MailerLite/README.md). @@ -27,7 +27,7 @@ You can find authentication information for this node [here](../../../credential ## Example Usage -This workflow allows you to receive updates when a subscriber is added to a group in MailerLite using the MailerLite Trigger node and add them to a base in Airtable. You can also find the [workflow](https://n8n.io/workflows/759) on n8n.io. This example usage workflow would use the following node. +This workflow allows you to receive updates when a subscriber is added to a group in MailerLite and add them to a base in Airtable. You can also find the [workflow](https://n8n.io/workflows/759) on n8n.io. This example usage workflow would use the following node. - [MailerLite Trigger]() - [Set](../../core-nodes/Set/README.md) - [Airtable](../../nodes/Airtable/README.md) @@ -50,7 +50,7 @@ In the screenshot below, you will notice that the node returns the information o ### 2. Set node -We will use the Set node to set the data coming from the previous node. This data gets passed on to the next node in the workflow. +We will use the Set node to ensure that only the data that we set in this node gets passed on to the next nodes in the workflow. ::: v-pre 1. Click on ***Add Value*** and select 'String' from the dropdown list. 2. Enter `Name` in the ***Name*** field. @@ -60,7 +60,7 @@ We will use the Set node to set the data coming from the previous node. This dat 6. Enter `Email` in the ***Name*** field. 7. Click on the gears icon next to the ***Value*** field and click on ***Add Expression***. 8. Select the following in the ***Variable Selector*** section: Nodes > MailerLite Trigger > Output Data > JSON > data > subscriber > email. You can also add the following expression: `{{$node["MailerLite Trigger"].json["data"]["subscriber"]["email"]}}`. -9. Toggle ***Keep Only Set*** to `true`. +9. Toggle ***Keep Only Set*** to `true`. We set this option to true to ensure that only the data that we have set in this node get passed on to the next nodes in the workflow. 10. Click on ***Execute Node*** to run the node. ::: In the screenshot below, you will notice that the node uses the data from the previous node and returns the data that we set for the workflow. @@ -69,15 +69,14 @@ In the screenshot below, you will notice that the node uses the data from the pr ### 3. Airtable node -This node will store the data coming from the previous node in a base in Airtable. +This node will store the data coming from the previous node in a table in Airtable. -1. First of all, you'll have to enter credentials for the MailerLite node. You can find out how to do that [here](../../../credentials/Airtable/README.md). +1. First of all, you'll have to enter credentials for the Airtable node. You can find out how to do that [here](../../../credentials/Airtable/README.md). 2. Select 'Append' from the ***Operation*** dropdown list. -3. Navigate to [https://airtable.com/api](https://airtable.com/api) and select the base where you want to store the information. -4. Copy the ID displayed under the ***Introduction*** section. -5. In n8n, paste the ID of the base in the ***Application ID*** field. -6. Enter the table name in the ***Table*** name field. -7. Click on ***Execute Node*** to run the node. +3. Enter the application ID in the ***Application ID*** field. For obtaining the Application ID, head over to their [API page](https://airtable.com/api) and select the correct base. You’ll find the Application ID under the Introduction section. +4. In n8n, paste the ID of the base in the ***Application ID*** field. +5. Enter the table name in the ***Table*** name field. +6. Click on ***Execute Node*** to run the node. In the screenshot below, you will notice that the node adds the information of the subscriber from the previous node in a table in Airtable.