App Name - Mailerlite
API Docs - https://mailerlite.github.io/
Authentication Method - Bearer Token
1. App Details and Auth Configuration.
We followed the Mailerlite API docs for selecting the Auth type as Bearer Token.
2. Configure Triggers
Trigger - Campaign Sent
Trigger Frontend View
3. Configure Actions
Action - Assign Subscriber to a Group
Action Event API Configuration with JSON Request Body Type:-
Note: You need to create the Inbuild Actions "Get Groups" and "Get Account's Subscriber" to get the "Group ID" and "Subscriber ID" in the Dynamic dropdown.
4. Configure Inbuilt Action
Create and add the Inbuilt action in the action step.
To get the subscribe ID & Group ID dropdown you need to map the response of the Inbuilt action response in the dynamic dropdown by clicking on the gear.
Action Frontend View
For more details follow this guide for creating new actions and triggers in your apps - https://forum.pabbly.com/forums/pabbly-connect-app-integration-guide/
Refer to the below video for creating your app with a similar auth type :
API Docs - https://mailerlite.github.io/
Authentication Method - Bearer Token
You can follow these steps to build the app integration with a similar auth type.
1. App Details and Auth Configuration.
We followed the Mailerlite API docs for selecting the Auth type as Bearer Token.
2. Configure Triggers
Trigger - Campaign Sent
Note: You need to input the Bearer Token in the trigger at the setup time. When it runs successfully then you must remove the token.
Trigger Frontend View
3. Configure Actions
Action - Assign Subscriber to a Group
Action Event API Configuration with JSON Request Body Type:-
- HTTP request method - POST
- API Endpoint URL - https://connect.mailerlite.com/api/subscribers/{{subscriber_id}}/groups/{{group_id}}
- Request Body Type - Specify a request body type to request this action event. By default, it is JSON.
- Wrap in Array - Specify if your request raw JSON needs to be wrapped in an array or not.
- Set Body/Query Parameters - Set parameters if this action event requires to pass the query/URL parameters or map in request raw JSON e.g. list_name.
- Request Body (Raw JSON) - Select this if this action event requires to pass the raw JSON data. If used in endpoints then, all variables in it defined under Set parameters option should have the required option opted. (Some API accepts blank values for JSON keys).
Note: You need to create the Inbuild Actions "Get Groups" and "Get Account's Subscriber" to get the "Group ID" and "Subscriber ID" in the Dynamic dropdown.
4. Configure Inbuilt Action
Create and add the Inbuilt action in the action step.
To get the subscribe ID & Group ID dropdown you need to map the response of the Inbuilt action response in the dynamic dropdown by clicking on the gear.
Action Frontend View


Attachments
-
1663566812960.png232.3 KB · Views: 109
-
1663567284294.png248.4 KB · Views: 83
-
1663574905544.png57.3 KB · Views: 63
-
1663575979591.png15.8 KB · Views: 67
-
1663576029942.png15.8 KB · Views: 63
-
1663649586565.png205.6 KB · Views: 74
-
1663649649148.png194.7 KB · Views: 85
-
1663738732060.png302.8 KB · Views: 76
Last edited by a moderator: