{"id":17028510,"url":"https://github.com/svierk/sfdx-data-import","last_synced_at":"2026-05-04T14:36:03.629Z","repository":{"id":228414778,"uuid":"773930644","full_name":"svierk/sfdx-data-import","owner":"svierk","description":"💾 Github composite action for uploading Salesforce data based on CSV (Bulk API 2.0) or JSON (sObject Tree)","archived":false,"fork":false,"pushed_at":"2024-03-25T09:42:11.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-27T23:46:41.303Z","etag":null,"topics":["composite-action","github-actions","salesforce","sfdx","sfdx-cli"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/sfdx-data-import","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/svierk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"github":["svierk"]}},"created_at":"2024-03-18T16:41:11.000Z","updated_at":"2024-04-17T14:03:18.000Z","dependencies_parsed_at":"2024-03-22T07:41:17.262Z","dependency_job_id":null,"html_url":"https://github.com/svierk/sfdx-data-import","commit_stats":null,"previous_names":["svierk/sfdx-data-import"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svierk%2Fsfdx-data-import","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svierk%2Fsfdx-data-import/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svierk%2Fsfdx-data-import/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svierk%2Fsfdx-data-import/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svierk","download_url":"https://codeload.github.com/svierk/sfdx-data-import/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245013985,"owners_count":20547178,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["composite-action","github-actions","salesforce","sfdx","sfdx-cli"],"created_at":"2024-10-14T07:54:49.827Z","updated_at":"2026-05-04T14:35:58.608Z","avatar_url":"https://github.com/svierk.png","language":null,"funding_links":["https://github.com/sponsors/svierk"],"categories":[],"sub_categories":[],"readme":"# 💾 SFDX Data Import\n\nThis repository implements a simple GitHub composite action for uploading records to any kind of Salesforce org from within CI/CD automations based on CSV (Bulk API 2.0) or JSON (sObject Tree) format.\n\n## Usage\n\nAfter installing the SF CLI and authorizing the relevant org in your GitHub workflow, data can be imported using this action as follows:\n\n```\njobs:\n  validation:\n    name: Validation\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Select Node Version\n        uses: svierk/get-node-version@main\n\n      - name: Install Dependencies\n        run: npm ci\n\n      - name: Install SF CLI\n        uses: svierk/sfdx-cli-setup@main\n\n      - name: Salesforce Org Login\n        uses: svierk/sfdx-login@main\n        with:\n          sfdx-url: ${{ secrets.SFDX_AUTH_URL }}\n          alias: awesome-org\n\n      - name: CSV Data Import\n        uses: svierk/sfdx-data-import@main\n        with:\n          file-path: './data/accounts.csv'\n          object-type: 'Account'\n          external-id: 'Id'\n          target-org: awesome-org\n\n      - name: JSON Data Import\n        uses: svierk/sfdx-data-import@main\n        with:\n          file-path: './data/accounts.json,./data/contacts.json'\n          api-version: '59.0'\n```\n\nThe following actions were also used in the example workflow to create the prerequisites for the data import:\n\n- [Get Node Version](https://github.com/svierk/get-node-version) | Pulls Node.js version to be used from the _package.json_ of the project\n- [SFDX CLI Setup](https://github.com/svierk/sfdx-cli-setup) | Installs the Salesforce CLI and related plugins\n- [SFDX Login](https://github.com/svierk/sfdx-login) | Handles Salesforce login using a Salesforce DX authorization URL\n\nOf course, the data import action can be used flexibly and the respective approach can vary.\n\n## References\n\nThe data import options supported by this GitHub composite action can be found in the Salesforce CLI Command Reference here: \n\n- [data import tree](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_data_commands_unified.htm#cli_reference_data_import_tree_unified) (JSON format)\n- [data upsert bulk](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_data_commands_unified.htm#cli_reference_data_upsert_bulk_unified) (CSV format)\n\n## Releases\n\nLatest release notes can be found on the [release page](https://github.com/svierk/sfdx-data-import/releases).\n\n## License\n\nThe scripts and documentation in this project are released under the [MIT License](https://github.com/svierk/sfdx-data-import/blob/main/LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvierk%2Fsfdx-data-import","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvierk%2Fsfdx-data-import","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvierk%2Fsfdx-data-import/lists"}