CorpDev.Ai Docs
  • Welcome
  • Basics
    • Basic Company Search
    • Find Companies by Description
    • Company Lists
    • Company Analysis
      • Basic Facts
      • Qualitative Analysis
      • Custom Questions/Data Points
    • Export to Excel and Word
    • Integrations
  • Excel Add-in
    • Introduction & Installation
    • COMPANY Functions
    • DOCUMENT Functions
    • ANALYST Functions
  • API Intro
    • Quick Start
    • Authentication
    • Rate Limits
  • Company Search API
    • Search by Name or Domain
    • Search by Description
  • Company Research API
    • Get Company Facts
    • Get Company Field
    • Ask Company Question
  • Document API
    • Document Index
    • Ask Document Question
    • Extract Document Field
    • Extract Document Text
    • Summarize Document
  • AI Analyst API
    • Ask Question
Powered by GitBook
On this page
  • Function List
  • CORPDEV.GRDIVE_INDEX(folderId)
  • CORPDEV.GRDIVE_DOCUMENT_QUESTION(document_id, question)
  • CORPDEV.GRDIVE_DOCUMENT_EXTRACT_FIELD(document_id, field_name, instructions, batch)
  • CORPDEV.GRDIVE_DOCUMENT_EXTRACT_TEXT(document_id)
  • CORPDEV.GRDIVE_DOCUMENT_SUMMARIZE(document_id, instructions)
  1. Excel Add-in

DOCUMENT Functions

Function List

  • CORPDEV.GRDIVE_INDEX

  • CORPDEV.GRDIVE_DOCUMENT_QUESTION

  • CORPDEV.GRDIVE_DOCUMENT_EXTRACT_FIELD

  • CORPDEV.GRDIVE_DOCUMENT_EXTRACT_TEXT

  • CORPDEV.GRDIVE_DOCUMENT_SUMMARIZE


CORPDEV.GRDIVE_INDEX(folderId)

Description: Provides an index (like a Due Diligence document index) of documents and subfolders from a specified Google Drive folder.

Parameters:

  • folderId (string): The ID of the Google Drive folder.

Returns: An index of documents and subfolders.


CORPDEV.GRDIVE_DOCUMENT_QUESTION(document_id, question)

Description: Asks a question about a document and retrieves the answer.

Parameters:

  • document_id (string): The ID of the document.

  • question (string): The question to ask.

Returns: The answer to the question.


CORPDEV.GRDIVE_DOCUMENT_EXTRACT_FIELD(document_id, field_name, instructions, batch)

Description: Extracts a specific field from a document.

Parameters:

  • document_id (string): The ID of the document.

  • field_name (string): The field to extract.

  • instructions (string): Additional instructions.

  • batch (number): Batch number.

Returns: The extracted field value.


CORPDEV.GRDIVE_DOCUMENT_EXTRACT_TEXT(document_id)

Description: Extracts text from a specified document.

Parameters:

  • document_id (string): The ID of the document.

Returns: The extracted text.


CORPDEV.GRDIVE_DOCUMENT_SUMMARIZE(document_id, instructions)

Description: Summarizes a document and returns the summary.

Parameters:

  • document_id (string): The ID of the document.

  • instructions (string, optional): Instructions for summarization.

Returns: The summary of the document.


PreviousCOMPANY FunctionsNextANALYST Functions

Last updated 8 months ago