{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":23212,"path":"intelligent-experiences/document-intelligence/configure-integration-setup.md","title":"Integrate with a custom application or workflow","bundle":null,"doc_type":null,"release":"australia","body":"\n# Integrate with a custom application or workflow\n\nConfigure an integration to trigger document task processing or value extraction. Integrations can be used to quickly set up flows with other applications.\n\n**Important:** Starting with the Zurich release, Document Intelligence is being prepared for future deprecation. It will be hidden and no longer activated on new instances but will continue to be supported. For details, see the Deprecation Process article \\[[KB0867184](https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0867184)\\] in the Now Support Knowledge Base. Instead, you can extract information from documents using the Now Assist in Document Intelligence application. For more information, see [Now Assist in Document Intelligence \\(Legacy\\)](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/intelligent-experiences/now-assist-in-document-intelligence/docintel-nowassist-landing.md).\n\n## Before you begin\n\n-   You must first add a target table to your use case before creating an integration.\n-   The target table must be readable and writable. Ensure the **Can read** and **Can update** check boxes are selected in the **Application Access** tab of the target table record. For more information, see [Create a table](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-administration/t_CreateATable.md).\n-   Role required: sn\\_docintel.admin or sn\\_docintel.manager\n\n## About this task\n\nDefine integration points for your Document Intelligence solution. Two integration points are provided for data extraction use cases: one to automatically create and process Document Intelligence document tasks, and one to automatically propagate the field values to another application when extraction has been completed in Document Intelligence. For document classification use cases, there’s also an integration point to map to a data extraction use case.\n\n## Procedure\n\n1.  Do one of the following:\n\n    1.  To integrate a data extraction use case, navigate to **All** &gt; **Document Intelligence** &gt; **Document Data Extraction Administration** &gt; **Use Cases**.\n\n    2.  To integrate a document classification use case, navigate to **All** &gt; **Document Intelligence** &gt; **Document Classification** &gt; **Use Cases**.\n\n2.  Select the use case for which you want to set up integration points.\n\n3.  Do one of the following:\n\n    1.  For a data extraction use case, go to the **Integrations** tab and select **Set up your first integration**.\n\n        If you have already defined one or more integrations and you want to add another, select **New integration**.\n\n        \\[Omitted image \"integration-setupT3.png\"\\] Alt text: New integration button in the Integrations tab of a use case.\n\n    2.  For a document classification use case, go to the **Integration Setups** tab and select **New**.\n\n4.  On the form, fill in the fields.\n\n<table id=\"table_abc_cn4_g5b\"><thead><tr><th>\n\nField for data extraction\n\n</th><th>\n\nField for document classification\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nName your Integration\n\n</td><td>\n\nName\n\n</td><td>\n\nName for the integration.\n\n</td></tr><tr><td>\n\nUse case\n\n</td><td>\n\nUse case\n\n</td><td>\n\nUse case to use for the integration task.\n\n</td></tr><tr><td>\n\nWhere do you want to take the documents from and store the extracted data?\n\n</td><td>\n\nTarget table\n\n</td><td>\n\nTable to receive data from or send data to.\n\n**Note:** The target table is taken from the use case.\n\n</td></tr><tr><td>\n\nWhat type of integrations you want to set?\n\n</td><td>\n\nType\n\n</td><td>\n\nFor data extraction and document classification use cases, the options include **Process Task** or **Extract Values**. Document classification use cases also have a **Map To Document Data Extraction Use Case** option.\n\n The **Process Task** type creates an integration point to automatically create and process DocIntel document tasks based on specific triggers happening in the target table.\n\n The **Extract Values** type creates an integration point to automatically propagate the extracted values to the target table when extraction has been completed in DocIntel \\(that is, when the document task status changes to Done\\).\n\n The **Map To Document Data Extraction Use Case** type creates an integration point that allows a processed document classification value to automatically create a new data extraction task.\n\n</td></tr><tr><td>\n\nConditions\n\n</td><td>\n\n \n\n</td><td>\n\nFilters used to select certain fields to use as specific triggers for the integration.\n\n Process Task only.\n\n</td></tr><tr><td>\n\nCreate Flow\n\n</td><td>\n\n \n\n</td><td>\n\nSelect this option to create a flow for this integration in Workflow Studio.\n\n This option should be selected, unless you’re planning to write your own custom script to set up the integration.\n\n</td></tr></tbody>\n</table>5.  Do one of the following:\n\n    1.  For data extraction, select **Save**.\n\n    2.  For document classification, select **Submit**.\n\n\n## Integration\n\nThe following images show two example integrations. The first image is a Process Task integration that triggers when a record needs review. The second image is an Extract Values integration that can automatically send extracted fields to the invoice table.\n\n\\[Omitted image \"configure-integrationT1.png\"\\] Alt text: New integration record with conditions.\n\n\\[Omitted image \"integration-setupT2.png\"\\] Alt text: New integration record with Extracted Values selected.\n\n## What to do next\n\nIf you selected to create a flow, finish the activation in Workflow Studio.\n\nFor more information, see [Building flows](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/build-workflows/flows.md).\n\n**Parent Topic:**[Integrating Document Intelligence with other applications](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/intelligent-experiences/document-intelligence/integrating-docintel.md)\n\n"}}