Use Document Mapper Configuration
after creating and testing a document mapper configuration, you can make it available to users or automations through salesforce buttons or salesforce flow use the configuration in salesforce flow document mapper configurations can also be executed from salesforce flow using the document mapper docid\ zhnizzremyqxf2lpedkkt open the salesforce flow and add the document mapper flow action provide the document mapper configuration id and configure the required file inputs save and activate the flow when the flow runs, document mapper processes the document using the selected configuration and returns the extracted values to the flow these values can then be used in subsequent flow elements for automation, record creation, approvals, notifications, or integrations find your domain before configuring buttons, determine the visualforce domain used by document mapper navigate to setup → visualforce pages open documentmapperaction click preview copy the domain from the url the domain will be in the following format https //yourdomain vf force com setup list view button to create record to allow users to trigger document mapper directly from a salesforce list view, create a custom list view button on the object where the action should be available in salesforce, go to setup → object manager select the target object (for example, the business document object) open buttons, links, and actions and create a new button configure it as a list button set content source to url choose to display it in the existing window (optionally without the sidebar or header, based on your org preference) set the button url using the following template by replacing \<yourdomain> with your domain (obtained using the visualforce pages method above) and {your config id} with the document mapper configuration id https //\<yourdomain> vf force com/apex/documentmapperaction?configid={your config id} after saving the button, add it to the list view by editing the search layouts section for that object and moving the new button into the list of visible buttons once this setup is complete, users will be able to select records from a list view, click the new button, upload their document, and run the document mapper process seamlessly—without having to open or understand the backend configuration setup record detail page button to update record to allow users to launch document mapper from an individual record, create a detail page button on the target object and add it to the page layout navigate to buttons, links, and actions → new button or link on the required object set display type to detail page button and content source to url paste the document mapper url in the button url field using the format below (replace {your config id} with your configuration id) https //\<yourdomain> vf force com/apex/documentmapperaction?configid={your config id}\&recordid={!object id} click save go to page layout , and add the button under salesforce lightning experience actions so it appears on the record detail page note recordid must be the current record’s id use the object’s merge field in the button url—e g , {!account id} for account, {!opportunity id} for opportunity, or the corresponding {!objectapiname id} for custom objects