GoodDataListEditor avatar

GoodDataListEditor

Try for free

No credit card required

Go to Store
GoodDataListEditor

GoodDataListEditor

ivanvia/gooddatalisteditor
Try for free

No credit card required

Simple automation tool to add more contacts to the list

Automation Tool for Adding Contacts to GoodData

Overview

This automation tool leverages Playwright to automate the process of logging into a web application and adding contacts based on a list of user IDs. The tool is designed to streamline the task of managing contacts efficiently and accurately.

Features

  • Automated Login: Logs into the web application using provided Google credentials.
  • Dynamic User ID Handling: Accepts a list of user IDs to be added, ensuring that no duplicates exist within the input list.
  • Error Handling: Provides logging for any issues encountered during the process.

Requirements

  • Node.js
  • Playwright
  • Apify SDK
  • Access to the web application with valid Google credentials

Installation

  1. Clone this repository to your local machine:

    1git clone https://github.com/yourusername/repository-name.git
    2cd repository-name
  2. Install the required dependencies:

    npm install

Configuration

Before running the tool, make sure to configure the input parameters in the INPUT.json file. The following parameters are required:

  • startUrl: The URL to start the automation process.
  • userIDs: An array of user IDs that you want to add as contacts.
    • Important: One of the IDs included in this list must not duplicate any other ID already in your list. Ensure that each ID is unique to avoid conflicts during the addition of contacts.
  • GD_USER: Your Google account username for login.
  • GD_PWD: Your Google account password for login.

Example INPUT.json

1{
2    "startUrl": "https://bizztreat.na.gooddata.com/analyze/#/b8wz5c18b3h74263vlo0aw1h5rlasox1/105661/edit",
3    "userIDs": [
4        { "id": "L3SQCzrXXymiRdD83" },
5        { "id": "JR8MXya2qZx93sSaS" },
6        { "id": "tbdN5nxesP9DpGF7d" }
7    ],
8    "GD_USER": "your.email@gmail.com",
9    "GD_PWD": "yourpassword"
10}

Usage

To run the automation tool, execute the following command in your terminal:

node src/main.js

Important Notes

  • Make sure that the user ID you are adding does not already exist in the system. The tool is designed to handle unique user IDs to prevent duplication.
  • If a user ID already exists in your list, the tool may log an error but will continue processing the remaining user IDs.

Logging

The tool provides detailed logs of the actions performed and any errors encountered. Check the console output for information on the success or failure of each operation.

Contributing

Feel free to submit issues or requests for enhancements. Contributions are welcome!

Developer
Maintained by Community

Actor Metrics

  • 0 monthly users

  • 0 No stars yet

  • >99% runs succeeded

  • Created in Oct 2024

  • Modified 2 months ago

Categories