Actions23
- Data Explorer API Actions
- Public API Actions
- Change User Access
- Clear AB Tasty Script
- Get Framework Checksum
- Get Modification
- Get Test
- Get Third Party Tools Link
- Get User
- Get Variation
- Give User Access
- List Events
- List Modifications
- List Tests
- List Tests Statistics
- List Third Party Tool Links
- List Users
- List Variations
- Pause Test
- Play Test
- Revoke User Access
- Update AB Tasty Script
- Universal Data Connector API Actions
Overview
This node integrates with the AB Tasty Public API to manage and interact with experiments (tests) and related entities programmatically. Specifically, the "Pause Test" operation allows users to pause a running A/B test within their AB Tasty account by specifying the account and test IDs.
Common scenarios where this node is beneficial include:
- Automating experiment lifecycle management, such as pausing tests based on external triggers or schedules.
- Integrating AB Tasty test control into broader marketing automation or data workflows.
- Quickly halting tests that meet certain criteria without manual intervention in the AB Tasty dashboard.
For example, a marketer could use this node to pause an underperforming test automatically when certain KPIs fall below thresholds, or a developer might integrate it into a CI/CD pipeline to pause tests during deployment windows.
Properties
| Name | Meaning |
|---|---|
| Account ID | The numeric identifier of the AB Tasty account where the test resides. |
| Test ID | The numeric identifier of the specific test to be paused within the given account. |
Output
The node outputs the JSON response returned by the AB Tasty API after attempting to pause the specified test. This typically includes confirmation of the action or details about the paused test.
- The output is structured as an array of JSON objects, each representing the API response for the corresponding input item.
- If the API returns no content (HTTP 204), the node outputs an object indicating
"Status Code": "204 No Content". - The node does not output binary data.
Dependencies
- Requires an API authentication token obtained via OAuth2 client credentials flow using a Client ID and Client Secret.
- The node expects valid credentials configured in n8n for accessing the AB Tasty API.
- Network access to
https://api.abtasty.comis required. - For this operation, no additional external dependencies or environment variables are needed beyond the API credentials.
Troubleshooting
- Missing Credentials: If the Client ID or Client Secret is missing, the node will throw an error stating "Missing Client ID or Client Secret." Ensure these are correctly set in the node's credential configuration.
- Required Parameters Missing: Errors like "Account ID is required" or "Test ID is required" indicate that mandatory input properties were not provided. Verify that both Account ID and Test ID are supplied.
- Failed to Retrieve Access Token: If the OAuth token request fails, check that the Client ID and Client Secret are correct and that the AB Tasty API is reachable.
- API Errors: Any other errors from the AB Tasty API will be wrapped and reported with the message prefix "Error calling AB Tasty API". Review the error message and stack trace for details.
- Invalid Test ID or Account ID: Providing incorrect IDs may result in API errors or no effect. Confirm IDs are accurate.
Links and References
- AB Tasty API Documentation — Official documentation for AB Tasty APIs.
- OAuth 2.0 Client Credentials Flow — Explanation of the authentication method used.
- n8n Documentation — General guidance on configuring credentials and using HTTP request nodes.