ZBrain Documentation
  • ZBrain Documentation
    • Components of ZBrain
    • Getting started with ZBrain
    • 📚Knowledge base
      • How to create a knowledge base?
      • Knowledge source
      • Information schema
      • File summary
      • Automated reasoning
      • Retrieval testing
      • Knowledge base settings
    • 📱APP
      • How to create a new app?
      • How to set up and customize your app?
      • How to access the app reporting dashboard?
    • 🤖ZBrain AI agents
      • Get started with agents on ZBrain
      • Deploying pre-built agents
      • Creating custom AI agents
        • Agent setup
        • Define input sources
        • Define Flow
          • Key elements of a Flow
          • Flow Components
            • Activepieces Platform
            • AITable
            • Airtable
            • Amazon S3
            • Amazon SNS
            • Amazon SQS
            • Amazon Textract
            • Apify
            • Apollo
            • Approval
            • Asana
            • Azure Communication Services
            • Azure Cosmos DB
            • Azure Document Intelligence
            • Azure OpenAI
            • Azure Translation
            • Bannerbear
            • Baserow
            • Beamer
            • Bedrock Claude
            • Bettermode
            • Binance
            • Bing Search
            • Blackbaud
            • Bonjoro
            • Box
            • Brevo
            • Brilliant Directories
            • Bubble
            • CSV
            • Calendly
            • Certopus
            • Clearout
            • Clockodo
            • Code
            • Confluence
            • Connections
            • Constant Contact
            • Contiguity
            • Contentful
            • Customer.io
            • Crypto
            • Databricks
            • Data Mapper
            • Date Helper
            • DeepL
            • Delay
            • Discord
            • Discourse
            • Drip
            • Dropbox
            • Dust
            • Facebook Pages
            • Figma
            • Files Helper
            • Flowise
            • Flowlu
            • Formbricks
            • Frame
            • Freshdesk
            • Freshsales
            • GCloud Pub/Sub
            • GenerateBanners
            • GhostCMS
            • GitHub
            • GitLab
            • Gmail
            • Google Calendar
            • Google Contacts
            • Google Docs
            • Google Drive
            • Google Forms
            • Google Gemini
            • Google My Business
            • Google Search
            • Google Search Console
            • Google Sheets
            • Google Tasks
            • Groq
            • Hacker News
            • Heartbeat
            • HubSpot
            • HTTP
            • Image Helper
            • Inputs
            • Instagram for Business
            • Intercom
            • Invoice Ninja
            • Jira Cloud
            • Jotform
            • Kimai
            • Kizeo Forms
            • LeadConnector
            • Line Bot
            • Linear
            • LinkedIn
            • LinkedIn Actions
            • LLMRails
            • Lusha
            • MailerLite
            • Mailchimp
            • Mautic
            • Microsoft Dynamics 365 Business Central
            • Microsoft Dynamics CRM
            • Microsoft Excel 365
            • Microsoft OneDrive
            • Microsoft Outlook Calendar
            • Microsoft Teams
            • Mixpanel
            • MongoDB
            • Notion
            • Odoo
            • OpenAI
            • OpenRouter
            • Pastebin
            • PDF
            • Postgres
            • PostHog
            • Pushover
            • Qdrant
            • Queue
            • Razorpay
            • Router
            • Salesforce
            • SendGrid
            • ServiceNow
            • SFTP
            • SharePoint
            • Slack
            • SMTP
            • Snowflake
            • SOAP
            • Spotify
            • Stability AI
            • Stable Diffusion Web UI
            • Storage
            • Stripe
            • SurrealDB
            • SurveyMonkey
            • Taskade
            • Telegram Bot
            • Text Helper
            • Trello
            • Twilio
            • Twitter
            • Utilities
            • WhatsApp Business
            • WordPress
            • XML
            • YouTube
            • ZBrain
            • Zendesk
            • ZeroBounce
            • Zoho Books
            • Zoho CRM
            • Zoho Invoice
            • Zoom
          • How to Define a Flow?
          • How to Test Each Step in the Flow?
        • Configure Additional Settings
        • Test and Deploy Agents
        • How to access, monitor, and manage agent performance and tasks?
    • Settings
    • 📖API Tutorials
      • 📚Knowledge base
        • Automated Reasoning
      • 📱APP
      • 🤖Agents
Powered by GitBook
On this page
  • How to use Microsoft SharePoint in ZBrain Flow
  • How to Connect Microsoft SharePoint to ZBrain Flow
  • How to create a folder
  • How to Create a List
  • How to create a List item
  • How to update a list item
  • How to delete a list item
  • How to find a list item
  • How to make a custom API call
  1. ZBrain Documentation
  2. ZBrain AI agents
  3. Creating custom AI agents
  4. Define Flow
  5. Flow Components

SharePoint

Microsoft SharePoint is a web-based platform for collaboration and document management, allowing teams to create, share, and manage content seamlessly. It integrates with Microsoft 365 tools to enhance productivity and streamline workflows.

How to use Microsoft SharePoint in ZBrain Flow

  1. Click the '+' button in ZBrain Flow.

  2. Type "Microsoft SharePoint" in the search bar and select it from the list.

  3. Choose the action you want to configure. ZBrain Flow offers several options:

  • Create folder – Add a new folder to your SharePoint site.

  • Create list – Create a new SharePoint list.

  • Create list item – Add a new item to an existing list.

  • Update List Item – Modify an existing list item.

  • Delete list item – Remove a list item from SharePoint.

  • Find list item – Search for a list item by title.

  • Custom API call – Make advanced API requests to SharePoint endpoints.

How to Connect Microsoft SharePoint to ZBrain Flow

Before using SharePoint actions in ZBrain Flow, you need to connect your SharePoint account.

Steps to connect:

  1. From any SharePoint action, open the Connection dropdown and click ‘Create connection.’

  2. In the popup window:

    • Enter a Connection Name to identify your SharePoint integration.

  3. Click ‘Connect’ to begin authentication.

  4. Log in to your Microsoft account and grant the necessary permissions.

  5. Click ‘Save’ to finalize the connection.

Once connected, you can access and manage SharePoint content through ZBrain Flow.

How to create a folder

Fields & configuration:

  • Connection Choose an existing authenticated SharePoint connection or create a new one.

  • Site ID Select the specific SharePoint site (e.g., “MarketingSite” or “HRPortal”) where the target document library exists. This is the site under which the folder will be created.

  • Drive ID Input the specific Drive ID, representing the document library within the chosen site. For example, it could be "Documents" or a custom library named "Client Contracts.”

  • Parent folder Define the path within the document library where the new folder will be nested. Example: /demo/assignments/2025

    • Leave this field blank to create the folder at the root of the document library.

    • Use forward slashes to indicate subdirectory levels.

  • Folder name Enter the exact name of the folder to be created. Example: Project_Alpha_0425

    • Ensure the name doesn’t contain invalid characters (\, /,:, *, ?, ", <, >, |).

How to Create a List

Fields & configuration:

  • Connection Select your authenticated SharePoint account or create a new one.

  • Site ID The SharePoint site under which the list will be created.

  • List name A human-readable name for the new list. Example: Customer_Feedback_Quarter1

  • List description A brief explanation of the list’s purpose, visible in the SharePoint UI.

How to create a List item

Fields & configuration:

  • Connection Select your connected SharePoint account or create a new one.

  • Site ID Choose the site containing the list.

  • List ID Select the target list (e.g., “Employee Directory”, “Bug Reports”).

  • Item fields (JSON Format) Provide the data to be inserted using a JSON object. Keys must match SharePoint column names exactly (case-sensitive). Example:

    { "Title": "Jane Smith", "Email": "jane.smith@company.com", "Department": "Finance", "Status": "Active" }

How to update a list item

Fields & configuration:

  • Connection Select your SharePoint connection or create a new one.

  • Site ID Choose the site hosting the target list.

  • List ID Select the list containing the item to be updated.

  • List item ID Provide the numeric ID of the item (e.g., 1023) that you want to update. This ID can be retrieved from previous steps, like Find List Item.

  • Updated fields (JSON format) Only include fields that require updates. Keys must match SharePoint column names. Example:

    { "Status": "Resolved", "AssignedTo": "John.Doe@company.com" }

How to delete a list item

Fields & configuration:

  • Connection Use your authenticated SharePoint account or create a new one.

  • Site ID Select the site containing the list.

  • List ID Choose the specific list from which the item should be deleted.

  • List item ID Enter the ID of the list item to delete. This is usually a numeric value obtained from previous steps.

How to find a list item

Fields & configuration:

  • Connection Select your SharePoint connection or create a new one.

  • Site ID Choose the site where the list resides.

  • List ID Select the list to be searched.

  • Title Enter the exact title of the item you're searching for.

How to make a custom API call

Fields & configuration:

  • Connection Select your existing SharePoint connection or create a new one.

  • URL Provide the relative or absolute API endpoint. Examples:

    • Relative: /sites/{site-id}/lists/{list-id}/items

    • Absolute: https://graph.microsoft.com/v1.0/sites/...

  • HTTP method Choose the method based on your goal:

    • GET: Retrieve data

    • POST: Create new items

    • PATCH: Update fields

    • PUT: Replace items

    • DELETE: Remove items

    • HEAD: Retrieve headers only

  • Headers Provide key-value pairs like:

    { "Content-Type": "application/json" }

    • To add more headers, click on ‘+Add Item’.

  • Query parameters

    • Supply additional filters or controls. Example: ?$filter=Status eq 'New'

    • To include additional query parameters, click the ‘+ Add Item’ button.

  • JSON body Required for POST, PUT, PATCH. Example for creating a list item:

    { "fields": { "Title": "New Hire Onboarding", "Owner": "hr@company.com" } }

  • Timeout Specify maximum execution time in seconds. The default is typically 30s.

Note: Click 'f' to insert dynamic values for flexible configurations.

PreviousSFTPNextSlack

Last updated 26 days ago

🤖