Loops
Loops is an email marketing and transactional email platform built for modern SaaS companies, helping businesses automate onboarding, product updates, and lifecycle messaging with simple workflows, API integrations, and scalable contact management.
Categories: Advertising
Type: loops/v1
Connections
Version: 1
API Key
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| token | API Key | STRING | To find your API key go to Settings -> API in Loops and click Generate key. | true |
Connection Setup
Generate API Key
- Login to your Loops
- Click here to go to Settings.
- Click on API.
- Click on Generate key button.
- By clicking here you can copy your API Key.
Actions
Create Contact
Name: createContact
Create a new contact with an email address and any other contact properties.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| Email Address | STRING | The contact’s email address. | true | |
| firstName | First Name | STRING | The contact’s first name. | false |
| lastName | Last Name | STRING | The contact’s last name. | false |
| userGroup | User Group | STRING | You can use groups to segment users when sending emails. Currently, a contact can only be in one user group. Groups like “Users”, “VIPs”, “Investors” or “Customers” | false |
| userId | User ID | STRING | A unique user ID (for example, from an external application). | false |
| mailingLists | Mailing Lists | ARRAY Items[STRING] | List of mailing lists the user will be subscribed to. | false |
Example JSON Structure
{
"label" : "Create Contact",
"name" : "createContact",
"parameters" : {
"email" : "",
"firstName" : "",
"lastName" : "",
"userGroup" : "",
"userId" : "",
"mailingLists" : [ "" ]
},
"type" : "loops/v1/createContact"
}Output
Type: OBJECT
Properties
| Name | Type | Description |
|---|---|---|
| success | BOOLEAN Optionstrue, false | Indicates whether the contact was created successfully. |
| id | STRING | The internal ID of the new contact. |
Output Example
{
"success" : false,
"id" : ""
}How to find Mailing List ID
- Go to Setting.
- Click on Lists.
- There you will see your Mailing lists.
- Copy ID of the desired mailing list.
What to do if your action is not listed here?
If this component doesn't have the action you need, you can use Custom Action to create your own. Custom Actions empower you to define HTTP requests tailored to your specific requirements, allowing for greater flexibility in integrating with external services or APIs.
To create a Custom Action, simply specify the desired HTTP method, path, and any necessary parameters. This way, you can extend the functionality of your component beyond the predefined actions, ensuring that you can meet all your integration needs effectively.
How is this guide?
Last updated on