Salesforce APIs - gettectonic.com
Converting 15-Character IDs to 18-Character in Salesforce

Converting 15-Character IDs to 18-Character in Salesforce

In Salesforce, every record is assigned a unique Record ID, which is essential for managing data, writing formulas, and referencing records as an admin or developer. There are two types of Record IDs: a 15-character version and an 18-character version, each suited for different scenarios. Converting 15-character IDs to 18-character ones can be time-consuming when done manually, but several tools and methods can simplify the process, allowing for instant conversion with just a click. Understanding Salesforce Record IDs 15-Character Record ID The 15-character Record ID is case-sensitive and typically used in Salesforce’s user interface for tasks like editing records and generating reports. However, its case sensitivity can create issues with systems that do not recognize differences between uppercase and lowercase letters. 18-Character Record ID To mitigate case sensitivity issues, Salesforce offers an 18-character ID, which is used in APIs and tools such as Data Loader. This ID adds three additional characters to the 15-character version and is always returned by these tools during data exports. When to Use Each ID For consistency, the 18-character ID is preferable, especially when working with external systems. It’s best practice to use the 18-character ID in formulas, API calls, or any data comparisons to avoid errors caused by case sensitivity. Converting IDs Using a Formula Field in Salesforce Salesforce recommends creating a formula field with the CASESAFEID(Id) function to convert the 15-character ID to an 18-character ID. Here are some key points to consider: Implementation Steps: Once completed, this formula field will display the 18-character ID on relevant records. APIs and Software DevelopmentIf you need a more scalable or efficient solution, consider using Salesforce APIs or third-party tools for ID conversion. While online tools may suffice for small tasks, they can become unwieldy when handling hundreds or thousands of records in a CSV or Excel file. Streamlining ID Conversion with Xappex Tools Imagine the frustration of manually copying and pasting IDs! That’s where the XL-Connector and G-Connector from Xappex come into play. These tools work directly in Excel or Google Sheets, simplifying the ID conversion process. Instead of juggling multiple tools or navigating complex processes, you can seamlessly convert Salesforce IDs within your spreadsheet, saving significant time and effort. Using XL-Connector for ID Conversion in Excel Using G-Connector (Google Sheets) for ID Conversion G-Connector is Xappex’s integration tool for Google Sheets and Salesforce. If you haven’t installed it yet, do so and log in to your Salesforce org. The sheet will automatically update with the new 18-character IDs and provide links to open the records directly in Salesforce. Conclusion In summary, managing Salesforce Record IDs doesn’t have to be a hassle. While converting 15-character IDs to 18-character IDs is crucial for consistency, doing it manually can be tedious. With XL-Connector and G-Connector, you can streamline ID conversion with just a click in Excel or Google Sheets, making your workflow much more efficient. Like Related Posts Salesforce OEM AppExchange Expanding its reach beyond CRM, Salesforce.com has launched a new service called AppExchange OEM Edition, aimed at non-CRM service providers. Read more The Salesforce Story In Marc Benioff’s own words How did salesforce.com grow from a start up in a rented apartment into the world’s Read more Salesforce Jigsaw Salesforce.com, a prominent figure in cloud computing, has finalized a deal to acquire Jigsaw, a wiki-style business contact database, for Read more Health Cloud Brings Healthcare Transformation Following swiftly after last week’s successful launch of Financial Services Cloud, Salesforce has announced the second installment in its series Read more

Read More
Private Connectivity Between Salesforce and On-Premise Network

Private Connectivity Between Salesforce and On-Premise Network

Salesforce is an AWS Partner and a trusted global leader in customer relationship management (CRM). Hyperforce is the next-generation Salesforce architecture, built on Amazon Web Services (AWS). Private Connectivity Between Salesforce and On-Premise Network explained. When business applications developed on Hyperforce are integrated with on-premises systems, traffic in both directions will flow over the internet. For customers in heavily regulated industries such as the public sector and financial services, programmatic access of the Salesforce APIs hosted on Hyperforce from on-premises systems is required to traverse a private connection. Conversely, accessing on-premises systems from business applications running in Hyperforce is required to use a private connection. In this insight, AWS describes how AWS Direct Connect and AWS Transit Gateway can be used in conjunction with Salesforce Private Connect to facilitate the private, bidirectional exchange of organizational data. Architectural overview How to use AWS Direct Connect to establish a dedicated, managed, and reliable connection to Hyperforce. The approach used a public virtual interface to facilitate connectivity to public Hyperforce endpoints. The approach in this insight demonstrates the use of a private or transit virtual interface to establish a dedicated, private connection to Hyperforce using Salesforce Private Connect. Approach AWS Direct Connect is set up between the on-premises network and a virtual private cloud (VPC) residing inside a customer’s AWS account to provide connectivity from the on-premises network to AWS. The exchange of data between the customer VPC and Salesforce’s transit VPC is facilitated through the Salesforce Private Connect feature, based on AWS PrivateLink technology. AWS PrivateLink allows consumers to securely access a service located in a service provider’s VPC as if it were located in the consumer’s VPC. Using Salesforce Private Connect, traffic is routed through a fully managed network connection between your Salesforce organization and your VPC instead of over the internet. The following table shows the definitions of inbound and outbound connections in the context of Salesforce Private Connect: Direction Inbound Outbound Description Traffic that flows into Salesforce Traffic that flows out of Salesforce Use cases AWS to Salesforce Salesforce to AWS On-premises network to Salesforce Salesforce to on-premises network Inbound and Outbound This pattern can only be adopted for Salesforce services supported by Salesforce Private Connect, such as Experience Cloud, Financial Services Cloud, Health Cloud, Platform Cloud, Sales Cloud, and Service Cloud. Check the latest Salesforce documentation for the specific Salesforce services that are supported. Furthermore, this architecture is only applicable to the inbound and outbound exchange of data and does not pertain to the access of the Salesforce UI. The following diagram shows the end-to-end solution of how private connectivity is facilitated bidirectionally. In this example, on-premises servers located on the 10.0.1.0/26 network are required to privately exchange data with applications running on the Hyperforce platform. Figure 1: Using AWS Direct Connect and Salesforce Private Connect to establish private, bidirectional connectivity Prerequisites for Private Connectivity Between Salesforce and On-Premise Network In order to implement this solution, the following prerequisites are required on both the Salesforce and AWS side. Salesforce Refer to Salesforce documentation for detailed requirements on migrating your Salesforce organization to Hyperforce. AWS Network flow between on-premises data center and Salesforce API The following figure shows how both inbound and outbound traffic flows through the architecture. Figure 2: Network flow between on-premises data center and Salesforce Inbound Outbound Considerations for Private Connectivity Between Salesforce and On-Premise Network Before you set up the private, bidirectional exchange of organizational data with AWS Direct Connect, AWS Transit Gateway, and Salesforce Private Connect, review these considerations. Resiliency We recommend that you set up multiple AWS Direct Connect connections to provide resilient communication paths to the AWS Region, especially if the traffic between your on-premises resources and Hyperforce is business-critical. Refer to the AWS documentation on how to achieve high and maximum resiliency for your AWS Direct Connect deployments. For inbound traffic flow, we recommend that the VPC endpoint is configured across Availability Zones for high availability. Configure customer DNS records for the Salesforce API with IP addresses associated with the VPC endpoint and implement the DNS failover or load-balancing mechanism on the customer side. For outbound traffic flow, we recommend that you configure your Network Load Balancer with two or more Availability Zones for high availability. Security For inbound traffic flow, source IP addresses used by the incoming connection are displayed in the Salesforce Private Connect inbound configuration. We recommend that these IP ranges be used in Salesforce configurations that permit the enforcement of source IP. Refer to the Salesforce documentation Restrict Access to Trusted IP Ranges for a Connected App to learn how you can use these IP ranges can to control access to the Salesforce APIs. You access Salesforce APIs using an encrypted TLS connection. AWS Direct Connect also offers a number of additional data in transit encryption options, including support for private IP VPNs over AWS Direct Connect and MAC security. An IP virtual private network (VPN) encrypts end-to-end traffic using an IPsec VPN tunnel, while MAC Security (MACsec) provides point-to-point encryption between devices. For outbound traffic flow, we recommend that you configure TLS listeners on your Network Load Balancers to ensure that traffic to the Network Load Balancer is encrypted. Cost optimization If your use case is to solely facilitate access to Salesforce, you can use a virtual private gateway and a private VIF instead to optimize deployment costs. However, if you plan to implement a hub-spoke network transit hub interconnecting multiple VPCs, we recommend the use of a transit gateway and a transit VIF for a more scalable approach. Refer to the Amazon Virtual Private Cloud Connectivity Options whitepaper and AWS Direct Connect Quotas for the pros and cons of each approach. Conclusion Salesforce and AWS continue to innovate together to provide multiple connectivity approaches to meet customer requirements. This post demonstrated how AWS Direct Connect can be used in conjunction with Salesforce Private Connect to secure end-to-end exchanges of data in industries where the use of the internet is not an option. Like Related Posts Salesforce OEM AppExchange Expanding its reach beyond CRM, Salesforce.com has launched a new service called AppExchange OEM Edition, aimed at non-CRM service providers. Read more The Salesforce Story In Marc Benioff’s own words

Read More
Salesforce and MySQL

Salesforce and MySQL

Salesforce CRM houses a wealth of customer data, encompassing interactions, leads, and purchase histories. However, without proper organization, these insights risk being lost in the shuffle. Get a handle on data with Salesforce and MySQL. MySQL, a free, open-source relational database management system (RDBMS) that acts as a digital filing cabinet for structured data, including customer information. Integrating Salesforce CRM with MySQL presents a compelling solution by establishing a seamless bridge between the two systems. This integration enables businesses to efficiently transfer customer data from Salesforce into MySQL, ensuring centralized, accessible, and analyzable data. Imagine having all customer data neatly organized within a single, searchable database, facilitating holistic insights that empower informed decision-making and personalized marketing campaigns. Let’s explore the significant benefits of integrating Salesforce CRM and MySQL, and how this synergy can revolutionize your business operations. Benefits of Integrating Salesforce CRM and MySQL How to Integrate Salesforce CRM and MySQL Integrating Salesforce CRM with MySQL involves leveraging Salesforce APIs for secure data communication and synchronization. Here’s a step-by-step approach: Common Challenges and Solutions Conclusion Integrating Salesforce CRM with MySQL represents a transformative approach to streamline data management and enhance operational efficiency. By combining Salesforce’s robust CRM capabilities with MySQL’s flexible database management, businesses can unlock real-time insights, improve customer engagement, and drive strategic growth initiatives seamlessly. Embrace the power of Salesforce CRM and MySQL integration to stay competitive in today’s data-driven landscape effortlessly. Like Related Posts Salesforce OEM AppExchange Expanding its reach beyond CRM, Salesforce.com has launched a new service called AppExchange OEM Edition, aimed at non-CRM service providers. Read more The Salesforce Story In Marc Benioff’s own words How did salesforce.com grow from a start up in a rented apartment into the world’s Read more Salesforce Jigsaw Salesforce.com, a prominent figure in cloud computing, has finalized a deal to acquire Jigsaw, a wiki-style business contact database, for Read more Health Cloud Brings Healthcare Transformation Following swiftly after last week’s successful launch of Financial Services Cloud, Salesforce has announced the second installment in its series Read more

Read More
Summer 24 Salesforce Development Release Notes

Summer 24 Salesforce Development Release Notes

Whether you’re using Lightning components, Visualforce, Apex, or Salesforce APIs with your favorite programming language, these enhancements help you develop amazing applications, integrations, and packages for resale to other organizations. Summer 24 Salesforce Development Release Notes. Like Related Posts Salesforce OEM AppExchange Expanding its reach beyond CRM, Salesforce.com has launched a new service called AppExchange OEM Edition, aimed at non-CRM service providers. Read more The Salesforce Story In Marc Benioff’s own words How did salesforce.com grow from a start up in a rented apartment into the world’s Read more Salesforce Jigsaw Salesforce.com, a prominent figure in cloud computing, has finalized a deal to acquire Jigsaw, a wiki-style business contact database, for Read more Health Cloud Brings Healthcare Transformation Following swiftly after last week’s successful launch of Financial Services Cloud, Salesforce has announced the second installment in its series Read more

Read More
Salesforce API call

Salesforce Free API Only Licenses

Streamlining Salesforce Integration User Setup: A Step-by-Step Manual-Salesforce Free API Only Licenses Earlier this year, Salesforce made a noteworthy announcement, granting most organizations five free licenses for integration users. While seemingly technical, this development carries significant implications for daily operations and can have a measurable financial impact on companies. One key aspect is the introduction of a new license type: the Salesforce Integration User license. To view all available licenses, including this new one, navigate to the Company Information page in Setup. Enhance Salesforce Many organizations enhance Salesforce with tools like Outreach.io, HubSpot, Marketo, SalesLoft, and others. Often overlooked is the best practice of creating a dedicated Salesforce user for each integrated system. Budget constraints may lead to the sharing of users with admins or managers, but this approach is suboptimal and poses inherent risks. The Ops Guide to Cleaning a Salesforce Dumpster Fire Sharing logins, whether among multiple individuals or between people and tools, is a suboptimal common practice driven by the prohibitive cost of Salesforce licenses. The recent enhancement eliminates this barrier, making it more cost-effective to adopt best practices for integration licenses. To ensure a flawless integration setup using the provided licenses, follow these steps: Considerations: Step-by-Step Guide: Get Ready! You Will Need to: Create a Permission Set: Create the Integration User: Assign Permission Set: After creating the user, assign the previously created permission set. Testing: Verify API access and correct permissions before connecting the integration. Use a third-party API access tool (e.g., Workbench) in incognito mode to ensure proper functionality. Set Up the Integration: Follow the specific integration tool’s step-by-step guide using the created user. This guide simplifies the setup of Salesforce Free API Only Licenses integration users, preventing common mistakes and ensuring adherence to best practices. The financial benefits and adherence to best practices make this enhancement a significant boon for organizations, potentially saving thousands of dollars and promoting better Salesforce license management. Like Related Posts Salesforce OEM AppExchange Expanding its reach beyond CRM, Salesforce.com has launched a new service called AppExchange OEM Edition, aimed at non-CRM service providers. Read more The Salesforce Story In Marc Benioff’s own words How did salesforce.com grow from a start up in a rented apartment into the world’s Read more Salesforce Jigsaw Salesforce.com, a prominent figure in cloud computing, has finalized a deal to acquire Jigsaw, a wiki-style business contact database, for Read more Health Cloud Brings Healthcare Transformation Following swiftly after last week’s successful launch of Financial Services Cloud, Salesforce has announced the second installment in its series Read more

Read More
connect Salesforce to external APIs

Bulk API Salesforce

Bulk API 2.0 provides a simple interface to load large amounts of data into your Salesforce org and to perform bulk queries on your org data. The Bulk API is one of several APIs that Salesforce provides out-of-the-box. It’s a programmatic, REST-based API solution that allows you to work with large data sets in Salesforce. This process works asynchronously, meaning that it will work concurrently with other data operations in your org. What is the difference between REST and BULK API SFDC? Bulk API 2.0 is used in Salesforce when there is a need to process a large amount of data. When data processing involves more than 2,000 records this is an ideal use case for using Bulk API 2.0. If records are fewer than 2,000, it requires “bulkified” synchronous calls in REST (for example, Composite) or SOAP. What is the best practice for bulk API? A good rule of thumb is to start with a batch size of around 10,000 records and adjust as needed based on the performance of your specific use case. Another important best practice is to use the correct operation for your data load. The Bulk API supports different operations such as insert, update, upsert, and delete. What is the daily limit for bulk API? Bulk API V2, limits the maximum number of records (100 million) per 24-hour period, instead of limiting the number of Bulk Jobs and Batches. Both Bulk API and Bulk API 2.0 use the same REST API framework as other Salesforce REST APIs. What is the benefit of bulk API? Bulk API 2.0 is a RESTful API that allows you to perform large-scale data operations on Salesforce objects, such as insert, update, delete, and query. Bulk API 2.0 is designed to simplify the process of creating and managing bulk jobs, as well as to improve the performance and reliability of bulk data processing. Like Related Posts Salesforce OEM AppExchange Expanding its reach beyond CRM, Salesforce.com has launched a new service called AppExchange OEM Edition, aimed at non-CRM service providers. Read more The Salesforce Story In Marc Benioff’s own words How did salesforce.com grow from a start up in a rented apartment into the world’s Read more Salesforce Jigsaw Salesforce.com, a prominent figure in cloud computing, has finalized a deal to acquire Jigsaw, a wiki-style business contact database, for Read more Health Cloud Brings Healthcare Transformation Following swiftly after last week’s successful launch of Financial Services Cloud, Salesforce has announced the second installment in its series Read more

Read More
Python Alongside Salesforce

Python Alongside Salesforce

Salesforce can integrate with Python, though the platform primarily relies on its proprietary languages and frameworks for core development. Python, however, plays a crucial role in enhancing Salesforce’s capabilities through integrations, automation, data analysis, and extending functionalities via external applications. Here’s an overview of how Python works within the Salesforce ecosystem: 1. Salesforce’s Core Development Stack Before exploring Python’s use, it’s important to understand the key development tools within Salesforce: These tools are the foundation for Salesforce development. However, Python complements Salesforce by enabling integrations and automation that go beyond these native tools. 2. Python in Salesforce Integrations Python shines when integrating Salesforce with other systems, automating workflows, and extending functionality. Here’s how: a. API Interactions Salesforce’s REST and SOAP APIs allow external systems to communicate with Salesforce data. Python, with its powerful libraries, is excellent for interfacing with these APIs. Key Libraries: Example: Extracting Data via API: pythonCopy codefrom simple_salesforce import Salesforce # Connect to Salesforce sf = Salesforce(username=’your_username’, password=’your_password’, security_token=’your_token’) # Query Salesforce data accounts = sf.query(“SELECT Id, Name FROM Account LIMIT 10”) for account in accounts[‘records’]: print(account[‘Name’]) b. Data Processing and Analysis Python’s data manipulation libraries like Pandas and NumPy make it ideal for processing Salesforce data. Example: Data Cleaning and Analysis: pythonCopy codeimport pandas as pd from simple_salesforce import Salesforce # Connect to Salesforce sf = Salesforce(username=’your_username’, password=’your_password’, security_token=’your_token’) # Fetch data query = “SELECT Id, Name, AnnualRevenue FROM Account” accounts = sf.query_all(query) df = pd.DataFrame(accounts[‘records’]).drop(columns=[‘attributes’]) # Process data df[‘AnnualRevenue’] = df[‘AnnualRevenue’].fillna(0) high_revenue_accounts = df[df[‘AnnualRevenue’] > 1000000] print(high_revenue_accounts) 3. Automation and Scripting Python can automate Salesforce-related tasks, improving productivity and reducing manual effort. This can involve automating data updates, generating reports, or scheduling backups. Example: Automating Data Backup: pythonCopy codeimport schedule import time from simple_salesforce import Salesforce def backup_salesforce_data(): sf = Salesforce(username=’your_username’, password=’your_password’, security_token=’your_token’) query = “SELECT Id, Name, CreatedDate FROM Contact” contacts = sf.query_all(query) df = pd.DataFrame(contacts[‘records’]).drop(columns=[‘attributes’]) df.to_csv(‘contacts_backup.csv’, index=False) print(“Salesforce data backed up successfully.”) # Schedule the backup schedule.every().day.at(“00:00”).do(backup_salesforce_data) while True: schedule.run_pending() time.sleep(1) 4. Building External Applications Using platforms like Heroku, developers can build external applications in Python that integrate with Salesforce, extending its functionality for custom portals or advanced analytics. Example: Web App Integrating with Salesforce: pythonCopy codefrom flask import Flask, request, jsonify from simple_salesforce import Salesforce app = Flask(__name__) @app.route(‘/get_accounts’, methods=[‘GET’]) def get_accounts(): sf = Salesforce(username=’your_username’, password=’your_password’, security_token=’your_token’) accounts = sf.query(“SELECT Id, Name FROM Account LIMIT 10”) return jsonify(accounts[‘records’]) if __name__ == ‘__main__’: app.run(debug=True) 5. Data Integration and ETL Python is commonly used in ETL (Extract, Transform, Load) processes that involve Salesforce data. Tools like Apache Airflow allow you to create complex data pipelines for integrating Salesforce data with external databases. Example: ETL Pipeline with Airflow: pythonCopy codefrom airflow import DAG from airflow.operators.python_operator import PythonOperator from simple_salesforce import Salesforce import pandas as pd from datetime import datetime def extract_salesforce_data(): sf = Salesforce(username=’your_username’, password=’your_password’, security_token=’your_token’) query = “SELECT Id, Name, CreatedDate FROM Opportunity” opportunities = sf.query_all(query) df = pd.DataFrame(opportunities[‘records’]).drop(columns=[‘attributes’]) df.to_csv(‘/path/to/data/opportunities.csv’, index=False) default_args = { ‘owner’: ‘airflow’, ‘start_date’: datetime(2023, 1, 1), ‘retries’: 1, } dag = DAG(‘salesforce_etl’, default_args=default_args, schedule_interval=’@daily’) extract_task = PythonOperator( task_id=’extract_salesforce_data’, python_callable=extract_salesforce_data, dag=dag, ) extract_task 6. Machine Learning and Predictive Analytics Python’s machine learning libraries, such as Scikit-learn and TensorFlow, enable predictive analytics on Salesforce data. This helps in building models for sales forecasting, lead scoring, and customer behavior analysis. Example: Predicting Lead Conversion: pythonCopy codeimport pandas as pd from sklearn.model_selection import train_test_split from sklearn.ensemble import RandomForestClassifier from simple_salesforce import Salesforce # Fetch Salesforce data sf = Salesforce(username=’your_username’, password=’your_password’, security_token=’your_token’) query = “SELECT Id, LeadSource, AnnualRevenue, NumberOfEmployees, Converted FROM Lead” leads = sf.query_all(query) df = pd.DataFrame(leads[‘records’]).drop(columns=[‘attributes’]) # Preprocess and split data df = pd.get_dummies(df, columns=[‘LeadSource’]) X = df.drop(‘Converted’, axis=1) y = df[‘Converted’] X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42) # Train model model = RandomForestClassifier(n_estimators=100, random_state=42) model.fit(X_train, y_train) # Evaluate accuracy accuracy = model.score(X_test, y_test) print(f”Model Accuracy: {accuracy * 100:.2f}%”) 7. Best Practices for Using Python with Salesforce To maximize the efficiency and security of Python with Salesforce: 8. Recommended Learning Resources By leveraging Python alongside Salesforce, organizations can automate tasks, integrate systems, and enhance their data analytics, all while boosting productivity. Content updated August 2024. Like Related Posts Salesforce OEM AppExchange Expanding its reach beyond CRM, Salesforce.com has launched a new service called AppExchange OEM Edition, aimed at non-CRM service providers. Read more The Salesforce Story In Marc Benioff’s own words How did salesforce.com grow from a start up in a rented apartment into the world’s Read more Salesforce Jigsaw Salesforce.com, a prominent figure in cloud computing, has finalized a deal to acquire Jigsaw, a wiki-style business contact database, for Read more Health Cloud Brings Healthcare Transformation Following swiftly after last week’s successful launch of Financial Services Cloud, Salesforce has announced the second installment in its series Read more

Read More
connect Salesforce to external APIs

API Salesforce

What is an API in Salesforce? An API is an Application Programming Interface offered by Salesforce, a leading cloud-based CRM platform. The API allows developers to integrate Salesforce functionality into other applications and business systems, enabling streamlined workflows, automated processes, and greater productivity. In essence, the API is a messenger that pulls information from one place and feeds it to another. APIs are everywhere and have many different faces and capabilities. For example, when your car’s navigation system uses Google Maps to direct you to the airport, that’s an API. Google allows navigation systems to use its popular mapping software — for a price (more on that later). Likewise, if there are share buttons at the bottom of your company’s blog posts, those are also APIs. Each one allows users to easily share content with their Facebook friends, Twitter followers, or Instagram feed. API stands for Application Programming Interface and it’s simply another way of sending commands to Salesforce, only this time there’s no graphical UI to work through, instead developers use the APIs to send commands like View or Save to Salesforce programmatically by writing platform code. Salesforce provides a handy tool for determining which API to use in different situations. API NAME API TYPE DATA FORMAT COMMUNICATION REST API REST JSON, XML Synchronous SOAP API SOAP (WSDL) XML Synchronous Connect REST API REST JSON, XML Synchronous (photos are processed asynchronously) Apex REST API REST JSON, XML, Custom Synchronous Apex SOAP API SOAP (WSDL) XML Synchronous Analytics REST API REST JSON, XML Synchronous User Interface API REST JSON Synchronous GraphQL API GraphQL JSON Synchronous Tooling API REST or SOAP (WSDL) JSON, XML, Custom Synchronous Bulk API 2.0 REST CSV Asynchronous Metadata API SOAP (WSDL) XML Asynchronous Pub/Sub API gRPC and protocol buffers Binary Asynchronous When to Use REST API REST API provides a powerful, convenient, and simple REST-based web services interface for interacting with Salesforce. Its advantages include ease of integration and development, and it’s an excellent choice of technology for use with mobile applications and web projects. For certain projects, you can use REST API with other Salesforce REST APIs. To build UI for creating, reading, updating, and deleting records, including building UI for list views, actions, and dependent picklists, use User Interface API. To build UI for B2B Commerce on Lightning, CMS managed content, Experience Cloud sites, or Chatter, use Connect REST API. If you have many records to process, consider using Bulk API, which is based on REST principles and optimized for large sets of data. See REST API Developer Guide. When to Use SOAP API SOAP API provides a powerful, convenient, and simple SOAP-based web services interface for interacting with Salesforce. You can use SOAP API to create, retrieve, update, or delete records. You can also use SOAP API to perform searches and much more. Use SOAP API in any language that supports web services. For example, you can use SOAP API to integrate Salesforce with your org’s ERP and finance systems. You can also deliver real-time sales and support information to company portals and populate critical business systems with customer information. See SOAP API Developer Guide. When to Use Connect REST API Connect REST API provides programmatic access to B2B Commerce for Lightning, CMS managed content, Experience Cloud sites, files, notifications, topics, and more. Use Connect REST API to display Chatter feeds, users, and groups, especially in mobile applications. See Connect REST API Developer Guide. When to Use Apex REST API Use Apex REST API when you want to expose your Apex classes and methods so that external applications can access your code through REST architecture. Apex REST API supports both OAuth 2.0 and Session ID for authorization. See Apex Developer Guide: Exposing Apex Classes as REST Web Services. When to Use Apex SOAP API Use Apex SOAP API when you want to expose Apex methods as SOAP web service APIs so that external applications can access your code through SOAP. Apex SOAP API supports both OAuth 2.0 and Session ID for authorization. See Apex Developer Guide: Exposing Apex Methods as SOAP Web Services and SOAP API Developer Guide: Apex-Related Calls. When to Use Analytics REST API You can access CRM Analytics assets such as datasets, lenses, and dashboards programmatically using the Analytics REST API. Send queries and access datasets that have been imported into the analytics platform. Create and retrieve lenses. Access XMD information. Retrieve a list of dataset versions. Create and retrieve CRM Analytics apps. Create, update, and retrieve dashboards. Retrieve a list of dependencies for an application. Determine what features are available to the user. Work with snapshots. Manipulate replicated datasets. See Analytics REST API Developer Guide. When to Use User Interface API Build Salesforce UI for native mobile apps and custom web apps using the same API that Salesforce uses to build Lightning Experience and Salesforce for Android, iOS, and mobile web. Build user interfaces that let users work with records, list views, actions, favorites, and more. Not only do you get data and metadata in a single response, but the response matches metadata changes made to the org by Salesforce admins. You don’t worry about layouts, picklists, field-level security, or sharing—all you do is build an app that users love. See User Interface API Developer Guide. When to Use GraphQL API Build highly responsive and scalable apps by returning only the data a client needs, all in a single request. GraphQL API overcomes the challenges posed by traditional REST APIs through field selection, resource aggregation, and schema introspection. Field selection reduces the size of the payload, sending back only fields that were included in the query. Aggregations reduce round trips between the client and server, returning a set of related resources within a single response. Schema introspection enables a user to see the types, fields, and objects that the user has access to. See GraphQL API Developer Guide. When to Use Tooling API Use Tooling API to integrate Salesforce metadata with other systems. Metadata types are exposed as sObjects, so

Read More
Salesforce Einstein

Connect Salesforce to an External API with No Code

Effortlessly establish seamless integration between your Salesforce org and an external API, all without writing a single line of code. Harness the capabilities of declarative tools in conjunction with OpenAPI specifications to define the functionality of the external API. Connect Salesforce to an external API for increased productivity. External Services will autonomously generate invocable actions directly within Salesforce. Whether you prefer low-code, process-driven integrations or aim to enhance your Apex integrations, External Services efficiently handles outbound integrations from Salesforce. Invoke these actions seamlessly from Apex, integrate them into flows, or include them in Einstein bots for smooth interaction with the external API source. Connect Salesforce to an external API to access these benefits. To begin, register OpenAPI 2.0 or OpenAPI 3.0 schemas within External Services. The operations imported from your registered schema effortlessly transform into invocable actions, accessible in Apex or as External Services action types within user-friendly automation tools like Flow Builder, Orchestrator, Einstein bots, or OmniStudio Assets. External Services particularly excels in handling RESTful services hosted externally, especially when the API specification aligns with OpenAPI 2.0 or OpenAPI 3.0 JSON schema formats. Low-code and no-code solutions for Salesforce allow you to build and deploy applications without needing extensive or any coding knowledge. These tools can help to save your business time and money when it comes to software development as well as allow non-technical users to create and customize applications. Like Related Posts Salesforce OEM AppExchange Expanding its reach beyond CRM, Salesforce.com has launched a new service called AppExchange OEM Edition, aimed at non-CRM service providers. Read more The Salesforce Story In Marc Benioff’s own words How did salesforce.com grow from a start up in a rented apartment into the world’s Read more Salesforce Jigsaw Salesforce.com, a prominent figure in cloud computing, has finalized a deal to acquire Jigsaw, a wiki-style business contact database, for Read more Health Cloud Brings Healthcare Transformation Following swiftly after last week’s successful launch of Financial Services Cloud, Salesforce has announced the second installment in its series Read more

Read More
Salesforce Chat GPT

Salesforce API Field Types

Fields on objects represent the details of each object and are analogous to columns in a database table. Each field on each object has one or more of the following properties: Property Description Aggregatable Can be used by one of the SOQL aggregate functions. Autonumber The API creates an autonumber. Create Value for the field can be specified during create using the API. Defaulted on create If no other value is specified when created, a default value is supplied. Delete Value for the field can be deleted using the API. Filter Can be used as filter criteria in a SOQL query FROM or WHERE clause. Group Can be included in the GROUP BY clause of a SOQL query (true) or not (false). Available in API version 18.0 and later. idLookup Can be used to specify a record in an upsert call. The Id field of each object has this property and some Name fields. There are exceptions, so check for the property in any object you wish to upsert. Namepointing Indicates whether the field’s value is the Name of the parent of this object (true) or not (false). Used for objects whose parents can be more than one type of object. For example, a task can have an account or a contact as a parent. Nillable The field can contain a null value. Query The field can be queried with SOQL using the API. Restricted picklist A picklist whose values are restricted to those values defined by a Salesforce admin. Users can’t load unapproved values through the API. Retrieve Value of the field can be retrieved using the API. Sort Indicates whether a query can sort on this field (true) or not (false). Update Can be updated using the API. Like1 Related Posts Salesforce OEM AppExchange Expanding its reach beyond CRM, Salesforce.com has launched a new service called AppExchange OEM Edition, aimed at non-CRM service providers. Read more The Salesforce Story In Marc Benioff’s own words How did salesforce.com grow from a start up in a rented apartment into the world’s Read more Salesforce Jigsaw Salesforce.com, a prominent figure in cloud computing, has finalized a deal to acquire Jigsaw, a wiki-style business contact database, for Read more Health Cloud Brings Healthcare Transformation Following swiftly after last week’s successful launch of Financial Services Cloud, Salesforce has announced the second installment in its series Read more

Read More

Salesforce API Call Basics

A Salesforce API call represents specific operations. Salesforce API call basics set up your client applications to invoke at runtime to perform tasks, for example: Using your development environment, you can construct Web service client applications that use standard Web service protocols to programmatically: Learn more about Salesforce API call basics. A Salesforce API call is a powerful tool. Like Related Posts Salesforce OEM AppExchange Expanding its reach beyond CRM, Salesforce.com has launched a new service called AppExchange OEM Edition, aimed at non-CRM service providers. Read more The Salesforce Story In Marc Benioff’s own words How did salesforce.com grow from a start up in a rented apartment into the world’s Read more Salesforce Jigsaw Salesforce.com, a prominent figure in cloud computing, has finalized a deal to acquire Jigsaw, a wiki-style business contact database, for Read more Health Cloud Brings Healthcare Transformation Following swiftly after last week’s successful launch of Financial Services Cloud, Salesforce has announced the second installment in its series Read more

Read More
Talkdesk Dialer for Salesforce

Talkdesk Dialer for Salesforce

Forge Meaningful Customer Connections with Talkdesk Proactive Outbound Engagement™-Talkdesk Dialer for Salesforce Talkdesk Proactive Outbound Engagement™ is a comprehensive suite of outbound voice and digital capabilities integrated into the Talkdesk CX Cloud™ contact center platform. This suite includes versatile dialing modes tailored for every scenario, such as Talkdesk Preview Dialer, Talkdesk Dialer, Advanced Dialer, Talkdesk Dialer for Salesforce, and Automated Notifications. Maximize contact rates by reaching customers when and how they prefer to be contacted while ensuring high-quality interactions that reflect the level of service your customers deserve. Enhance Agent Productivity to Maximize Outbound Success Tools like the Talkdesk Preview Dialer can significantly increase outbound call volume, driving connect rates from 5 to 15 or more per hour and boosting revenue by up to 200-300%. Intelligently manage outbound call pacing to filter out unproductive calls like voicemails, busy signals, and no answers, optimizing agent productivity. Launch Strategic Campaigns Effortlessly Leverage highly configurable dialing options and advanced campaign management tools to maximize contact rates through precise targeting and segmentation. The Advanced Dialer supports customizable campaign and dialing configurations to accommodate virtually any outreach and retry strategy. Empower Agents with Smart Dialing Modes Equip agents with predictive, power, progressive, preview, and agentless dialing modes, complemented by a patented AI-driven answering machine detection algorithm. Salesforce Quick Campaign, part of the Talkdesk Dialer for Salesforce™ product, allows manual selection of Salesforce records for dialing using preview or power dialing modes. Streamlined List Management for Seamless Operations Set up calling lists effortlessly by uploading a CSV file or pushing records from Salesforce, other CRMs, or business systems via an API. Web leads can be seamlessly integrated into ongoing campaigns for immediate dialing, ensuring every hot lead is promptly engaged. Ensure Quality Connections with Talkdesk Dialer for Salesforce™ Talkdesk Dialer, fully embedded within the Salesforce UI, offers power and preview dialing to balance productivity with call quality and personalized customer interactions. Deliver Efficient and Proactive Notifications Go beyond voice calls with Talkdesk Automated Notifications, anticipating customer needs through automated event-triggered SMS notifications. Configure rules and content for each notification to deliver highly personalized messages that enhance efficiency and customer satisfaction. Robust Reporting and Insights While pre-set out-of-the-box reporting tools are currently unavailable for Talkdesk Dialer for Salesforce, Salesforce users can leverage standard Salesforce reporting functionality to create custom reports. Talkdesk Dialer™ is designed to automate the dialing process, maximize outbound call volume, and facilitate meaningful connections with customers while ensuring compliance with regulatory requirements. Learn more about our solutions crafted to optimize every customer interaction at talkdesk.com. Like1 Related Posts Salesforce OEM AppExchange Expanding its reach beyond CRM, Salesforce.com has launched a new service called AppExchange OEM Edition, aimed at non-CRM service providers. Read more The Salesforce Story In Marc Benioff’s own words How did salesforce.com grow from a start up in a rented apartment into the world’s Read more Salesforce Jigsaw Salesforce.com, a prominent figure in cloud computing, has finalized a deal to acquire Jigsaw, a wiki-style business contact database, for Read more Health Cloud Brings Healthcare Transformation Following swiftly after last week’s successful launch of Financial Services Cloud, Salesforce has announced the second installment in its series Read more

Read More
Tectonic Salesforce Services

Salesforce Core API Calls

Here’s a list of Salesforce core API calls for your handy reference. List of Salesforce Core API calls: Call Description convertLead() Converts a Lead into an Account, Contact, or (optionally) an Opportunity. create() Adds one or more new individual objects to your organization’s data. delete() Deletes one or more individual objects from your organization’s data. deleteByExample() Deletes objects from your organization’s data using an sObject as a template for what to delete. All data in a big object matching the values in the sObject templates are deleted. emptyRecycleBin() Delete records from the recycle bin immediately. executeListView() Executes a list view’s SOQL query to retrieve data, labels, and actions from a list view. findDuplicates() Performs rule-based searches for duplicate records. The input is an array of sObject, each of which specifies the values to search for and the type of object that supplies the duplicate rules. The output identifies the detected duplicates for each object that supplies the duplicate rules. findDuplicates() applies the rules to the values to do the search. The output identifies the detected duplicates for each sObject. findDuplicatesByIds() Performs rule-based searches for duplicate records. The input is an array of IDs, each of which specifies the records for which to search for duplicates. The output identifies the detected duplicates for each object that supplies the duplicate rules. findDuplicatesByIds() applies the rules to the record IDs to do the search. The output identifies the detected duplicates for each ID. getDeleted() Retrieves the IDs of individual objects of the specified object that have been deleted since the specified time. For information on IDs, see ID Field Type. getUpdated() Retrieves the IDs of individual objects of the specified object that have been updated since the specified time. For information on IDs, see ID Field Type. invalidateSessions() Ends one or more sessions specified by sessionId. login() Logs in to the login server and starts a client session. logout() Ends the session of the logged-in user. merge() Merges records of the same object type. performQuickActions() Executes quick actions of type create or update. process() Submits an array of approval process instances for approval, or processes an array of approval process instances to be approved, rejected, or removed. query() Executes a query against the specified object and returns data that matches the specified criteria. queryAll() Same as query(), but includes deleted and archived items. queryMore() Retrieves the next batch of objects from a query. retrieve() Retrieves one or more objects based on the specified object IDs. search() Executes a text search in your organization’s data. undelete() Undelete records identified with queryAll(). update() Updates one or more existing objects in your organization’s data. upsert() Creates objects and updates existing objects; matches on a custom field to determine the presence of existing objects. Like1 Related Posts Salesforce OEM AppExchange Expanding its reach beyond CRM, Salesforce.com has launched a new service called AppExchange OEM Edition, aimed at non-CRM service providers. Read more The Salesforce Story In Marc Benioff’s own words How did salesforce.com grow from a start up in a rented apartment into the world’s Read more Salesforce Jigsaw Salesforce.com, a prominent figure in cloud computing, has finalized a deal to acquire Jigsaw, a wiki-style business contact database, for Read more Health Cloud Brings Healthcare Transformation Following swiftly after last week’s successful launch of Financial Services Cloud, Salesforce has announced the second installment in its series Read more

Read More
Dedicated Salesforce Integration User

Dedicated Salesforce Integration User

In the contemporary Salesforce landscape, the platform often operates as an integral component of a much broader Salesforce ecosystem, rather than functioning in isolation as a standalone customer relationship management system or a basic connected CRM. This interconnected environment comprises various Salesforce clouds, applications from the AppExchange, and third-party products. These external products establish communication with Salesforce through connectors, additional integration tools like Zapier, Workato, or Jitterbit, or via Salesforce’s CRM Analytics tool, offering code-free connectivity with data sources external to Salesforce. The orchestration of connections between Salesforce and other products is a responsibility managed by your Salesforce Administrator or a Salesforce Managed Services Provider. All these connections necessitate a method to communicate with your Salesforce org, typically facilitated through an API (application programming interface), enabling seamless interaction between two software components through defined protocols and definitions. Dedicated Salesforce Integration User Salesforce Dedicated Integration Accounts, employing a dedicated integration user and license, empower Salesforce administrators to establish secure, stable, and auditable connections between Salesforce and the myriad tools enriching the Salesforce ecosystem for your organization. This dedicated Salesforce integration user allows the assignment of a Salesforce license with a custom profile, specific permissions, and connections to all third-party integrations. Salesforce service accounts adeptly handle custom API work, efficiently managing substantial data volumes, potentially reaching thousands or tens of thousands of records daily. In today’s landscape, some third-party integrations now recommend or necessitate a Salesforce service account for effective management. The advantages of a dedicated Salesforce service account extend beyond Tectonic’s recommendation. Let’s explore how a Salesforce service account enhances security, stability, and reporting capabilities for your organization. Security: Using an administrator’s personal license for integrating a third-party product can pose security risks, granting these applications broad access within the Salesforce ecosystem. A dedicated integration user, ideally cloned from a standard user profile with restricted permissions, mitigates this risk by preventing actions such as creating or deleting users, deleting records, and other sensitive tasks. Additionally, the dedicated integration user avoids the need for frequent password updates that an administrator’s password change would necessitate for integrations. Stability: A dedicated integration user simplifies the management of third-party APIs, streamlining processes like user freezes and deactivations. This approach avoids potential issues arising from employee departures or password changes impacting both user access and integrations. It eliminates the need to migrate integrations to alternative licenses when deactivating a license. Reporting: A dedicated integration user enhances data integrity and simplifies reporting by allowing easy filtration of activities running across the integration user account. Filtering and analyzing records become more efficient, offering clarity on how and why a record was created in your Salesforce org. The service account enables effective bucketing of record creation and updates from third-party integrations, providing accurate reporting free from unnecessary complexities. While initially, it might seem tempting to forego setting up a Salesforce service account to save a license, the integration benefits become evident as more third-party applications are incorporated into your Salesforce org. Tectonic collaborates with clients during the configuration of new Salesforce instances or customization of existing ones, facilitating the setup of Salesforce service accounts for optimal utilization. As an additional resource, here are some recommended best practices from Salesforce for managing service accounts: For any uncertainties or inquiries regarding Salesforce service accounts, turn to Tectonic as your trusted Salesforce partner for advice on integrations, customizations, or managed service contracts. Like2 Related Posts Salesforce OEM AppExchange Expanding its reach beyond CRM, Salesforce.com has launched a new service called AppExchange OEM Edition, aimed at non-CRM service providers. Read more The Salesforce Story In Marc Benioff’s own words How did salesforce.com grow from a start up in a rented apartment into the world’s Read more Salesforce Jigsaw Salesforce.com, a prominent figure in cloud computing, has finalized a deal to acquire Jigsaw, a wiki-style business contact database, for Read more Health Cloud Brings Healthcare Transformation Following swiftly after last week’s successful launch of Financial Services Cloud, Salesforce has announced the second installment in its series Read more

Read More
gettectonic.com