Integry Docs
  • Welcome
  • Sign up for a free trial
  • Apps
    • Overview
    • Authentication
      • Access Control and Testing
    • Passthrough Requests
    • Supported Apps
      • Accelo
      • Aircall
      • Constant Contact
      • Copper
      • Elastic Email
      • Fireflies
      • Insightly
      • Instantly
      • Ontraport
      • RingCentral
      • Sendy
      • ServiceTitan
      • ActiveCampaign
      • Jotform
      • ActiveTrail
      • Agile CRM
      • Aha!
      • Airtable
      • Amazon SES
      • Asana
      • Basecamp3
      • BirdSend
      • Breezy HR
      • Brevo
      • Campaign Monitor
      • Capsule CRM
      • Chargify
      • CleverReach
      • ClickUp
      • ClickSend
      • Cliengo
      • Coda
      • Constant Contact
      • ConvertKit
      • Copper
      • Customer.io
      • Delighted
      • Demio
      • Drip
      • E-goi
      • Eventbrite
      • EverAction
      • Everhour
      • Formstack
      • Freshdesk
      • Freshworks CRM
      • Mautic
      • Customer.guru
      • Front
      • FTP
      • GetResponse
      • GitHub
      • Google Contacts
      • Google Sheets
      • GoToTraining
      • Groove
      • Help Scout
      • HubSpot
      • Keap
      • Mailchimp Transactional
      • Mailjet
      • MailUp
      • MeisterTask
      • Monday.com
      • MoonMail
      • Moosend
      • Nimble
      • Notion
      • Ontraport
      • PagerDuty
      • Pipedrive
      • Pipeline
      • Salesforce
      • SendPulse
      • Slack
      • Snappy
      • SolarWinds
      • Stripe
      • SurveySparrow
      • Teamgate
      • Unbounce
      • Zoho Books
      • Zoho Campaigns
      • Zoho CRM
      • Zoho Mail
      • Zoom
  • Flows
    • Overview
    • Flow Tutorials
      • Sync data TO another app from your app
      • Sync data FROM another app to your app
      • Create a two-way flow
    • Build a Flow
    • Trigger a Flow
      • Multiple Triggers in a Flow
    • Steps in a Flow
    • Integrations
      • Runs
  • Functions
    • Overview
    • Try Functions in 60 seconds
    • Quickstart for AI
    • Viewing Function Calls
    • Source Functions
    • Agent Frameworks
      • LangChain/LangGraph
      • CrewAI
      • AutoGen
      • LlamaIndex
      • Haystack
      • Smolagent
      • LiteLLM
      • Mistral AI
  • Embedded UI
    • Embed Integry Apps Marketplace
    • Add Integry Apps to an Existing Marketplace
    • Render modes, layouts and styling
    • Embedding FAQs
  • APIs and SDKs
    • JS SDK Reference
      • React Web Apps
    • API Reference
  • Workspaces
    • Overview
    • Workspace Variables
    • User Variables
  • Users
    • Testing with Beta Users
Powered by GitBook
On this page
  • What are Integry Functions?
  • Using Functions with Your AI
  • Additional Resources

Was this helpful?

Export as PDF
  1. Functions

Overview

Integry Functions enables you to integrate a vast array of apps into your AI applications seamlessly.

PreviousRunsNextTry Functions in 60 seconds

Last updated 5 months ago

Was this helpful?

What are Integry Functions?

Integry Functions lets you use Integry's extensive library of app functions as tools within your AI applications. By leveraging Integry's compatible JSON structures, you can invoke third-party app functions directly from your AI calls. You can:

  • Access hundreds of third-party app functions.

  • Use function-calling compatible JSON structures in your AI calls.

  • Show a populated form of the action for user editing and confirmation

  • Invoke functions directly (headlessly i.e. without a UI)

  • Predict and populate functions based on user input.

Using Functions with Your AI

Generally, when using AI with function calling, you take the following steps:

  1. Collect User Input: You collect a user message, which requires talking to an external API. For example: "send hello to my team on slack on #general"

  2. Call AI Model: You take the user message, their data context, and a prompt and pass a list of function specs with to the AI's API call

  3. AI Populates Function: The AI selects the function, fills in its parameters, and returns the result

  4. Call Function: You then call the function with the arguments and take next steps based on the response

  5. Validate Arguments (optional): before calling the function in step 3, you might need to validate the user input. In our example, the user wrote #general whereas the actual channel was #general. To resolve this, you may need to first fetch all channels and find the closest match

  6. Show UI (optional): you could also show the user the final function call in a UI before executing it.

To achieve this, we have two methods. The first method is faster and easier to start with. The second method requires more effort but provides greater control. Here they are:

  1. Function Prediction: Pass the user message to/functions/?predict_function=true&prompt=<user_message> to get the most relevant function. You can also get populated arguments.

  2. Function List Retrieval: Retrieve a list of available functions using the /functions endpoint and pass them to your AI model. Your model will predict the function to use and will populate the arguments. You may need to validate your inputs with additional supporting function calls.

Both approaches converge after obtaining the function parameters, where you can choose to call the function directly or show the UI.

Additional Resources

for a free trial and follow to get started.

Integry supports many functions for . Click the Marketplace button in the app to browse the full list of Functions or .

Sign up now
Quickstart for AI
200+ apps
use the API
OpenAI Function Calling Documentation
Integry API Reference
Integry.JS SDK Reference
function-calling