Salesforce is a proficient customer relationship management (CRM) tool that aids in the management of customer interactions. In this article, we'll take you step-by-step through the integration of Eden AI's Invoice Parser API in your Salesforce environment. The same process applies if you want to include other features like : Image tagging, Explicit content detection, Text analysis and many more AI APIs we offer.
Managing multiple accounts for each app can be a tough job, but with Eden AI, you can connect and manage all your APIs on a single account.
Eden AI allows you to solve multiple AI tasks on Salesforce:
Just like Receipt and Resume Parsing, Invoice Parsing is a tool powered by OCR to extract and digitalize meaningful data, Computer Vision to identify structure of the document, and NLP techniques to pin down the fields. Invoice parser technology extracts key information from an invoice (.pdf, .png or .jpg format) such as the invoice ID, total amount due, invoice date, customer name, etc.
To begin with, you’ll need to sign in Eden AI. If you don’t have an account yet, we’re offering $10 upon registration. Once you have successfully signed up, you will gain access to the platform's features, including the ability to establish integrations with various platforms, including Salesforce.
For detailed information regarding the Eden AI API, please refer to the provided link.https://docs.edenai.co/reference/ocr_invoice_parser_create
To connect Eden AI Invoice Parser to your Salesforce environment, you'll need to create an LWC Component in Salesforce. It’s one of the easiest ways to connect and test the API. Follow these steps:
We’ve included an image in the HTML file that serves as a sample invoice for Eden AI. Please note that this image is solely for our reference and is displayed in the user interface (UI) for illustrative purposes only.
Don’t forget to put your API KEY and IMAGE URL in the .JS file
Deploy this component in your Salesforce organization. For testing purposes, you can add this component to any Lightning Page.
Here is an example of our component deployed on a Lightning Page:
In the Component section, you will find a list of both standard and custom components. Our LWC component is a custom component, so simply drag and drop it onto your Lightning page.
In the image below, you can observe the component after it has been dragged and dropped onto the page. Make sure to save these changes.
Next, navigate to your Account list view and open any record. In the browser console, you will be able to see the API response based on the data from your invoice image.
Establishing a connection between Eden AI and your Salesforce environment is a straightforward process. With this integration, you'll be able to analyze your data in new ways, make more informed decisions, and automate certain tasks.
If you're interesting in more integration tools, have a look at our step-by-step tutorials on how to bring AI to your application with Power Apps, Zapier, Google App Script, Retool, Make, Dataiku, IFTTT, and n8n.
You can directly start building now. If you have any questions, feel free to schedule a call with us!Get startedContact sales