Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 1 KB

sample-seeding-salesforce-data.md

File metadata and controls

31 lines (18 loc) · 1 KB

Sample Seeding Salesforce Data

Overview

This guide explains how to populate your Salesforce instance with sample data for testing purposes.

Available Resources

API Endpoint

Data Sources

Object Information

  • Primary object: TechnicalRequest__c
    • Object name is defined in constants.ts under SALESFORCE_OBJECTS.TechnicalRequest

Usage

To populate your Salesforce instance with sample data, simply call the seedSalesforce API endpoint. This will create test records using the predefined data templates.

Sample Search query in .env

SF_SEARCH_FEATURE_QUERY="FIND {SEARCH_FIELD} IN ALL FIELDS RETURNING TechnicalRequest__c(Id, Name, painPoint__c, featureRequestDetails__c, potentialDealSize__c, industry__c, priority__c, currentWorkaround__c, businessImpact__c)"