• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

  • Important: Any reported problems and issues with your integration will be reported to you and we will encourage the app developers help to resolve those integration issues.

How we built Mailerlite Integration (Bearer Token based Integration)

Status
Not open for further replies.
App Name - Mailerlite
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.

1663566707637.png

We followed the Mailerlite API docs for selecting the Auth type as Bearer Token.

1663573302871.png



2. Configure Triggers

Trigger - Campaign Sent


1663741200597.png


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.

1663582288835.png


Trigger Frontend View
1663579512284.png

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).
1663582643610.png


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.
1663576043991.png


1663741628788.png




1663742080392.png


1663741979893.png

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.


1663571099354.png




1663575892112.png



Action Frontend View


1663574361752.png


👉 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 :

 

Attachments

  • 1663566812960.png
    1663566812960.png
    232.3 KB · Views: 167
  • 1663567284294.png
    1663567284294.png
    248.4 KB · Views: 146
  • 1663574905544.png
    1663574905544.png
    57.3 KB · Views: 118
  • 1663575979591.png
    1663575979591.png
    15.8 KB · Views: 139
  • 1663576029942.png
    1663576029942.png
    15.8 KB · Views: 120
  • 1663649586565.png
    1663649586565.png
    205.6 KB · Views: 144
  • 1663649649148.png
    1663649649148.png
    194.7 KB · Views: 148
  • 1663738732060.png
    1663738732060.png
    302.8 KB · Views: 149
Last edited by a moderator:
Status
Not open for further replies.
Top