FormWise Manual
Your FormWise Dashboard
  • Welcome
  • Book a 1-on-1 Onboarding Session
  • Core Features
    • Your Dashboard
    • OpenAI API Key
    • SmartForms
    • CoPilots
    • Toolsets
    • Login Mode & Monetization
      • Choose A Toolset To Monetize
      • Setting Up Stripe Payments
      • Setting Up Subscription Plans
      • Embedding Your Login Mode Toolset
      • What Your Users See
      • Login Mode FAQs
      • Creating Credit Add Ons
      • Customizing Your Tool's Credit Usage
      • Using Coupon Codes
      • Editing Default Text And Internationalization
      • Migrating Existing Users
      • Importing Your FormWise AI Tool SaaS Templates
      • Using Webhooks For Login Mode User Sign Ups
      • Login Mode Stripe FAQs
    • OpenAI's GPT Engines Overview
  • Full Features
    • Intro To Prompt Chaining in FormWise
    • Advanced Prompt Chaining Guide
    • Using Front-End File Uploads in SmartForms
    • Using Backend Data Sources in SmartForms
    • Using Backend Data Sources in CoPilots
    • Using Front-End File Uploads in CoPilots
    • Web Searching
    • Web Crawling
    • Cached Input Responses (Toolsets)
    • Using Toolset Starter Packs
      • ๐Ÿ“ข Digital Marketing Accelerator - Toolset Starter Pack
      • ๐ŸชeCommerce A.I. Toolkit - Toolset Starter Pack
      • ๐Ÿ“š Blog Writing & SEO Toolkit โ€“ Toolset Starter Pack
      • ๐Ÿ“š Email Marketing Power Pack โ€“ Toolset Starter Pack
      • ๐Ÿ“š Course Creatorโ€™s Toolkit โ€“ Toolset Starter Pack
      • ๐Ÿ“š Real Estate Agent Success Toolkit โ€“ Toolset Starter Pack
      • ๐Ÿ“š Author & Writer A.I. Kit โ€“ Toolset Starter Pack
    • Sharing & Adding Toolsets
    • Auto Populate Fields In Your Tool URLs
    • Collaborators & Workspaces
    • Brand Voice Profile Settings
  • Using FormWise & HighLevel
    • HighLevel & FormWise
    • Full HighLevel Agency Plan Setup & Integration
    • Sending FormWise AI Responses to HighLevel Workflows via Webhook
  • Free Resources
    • Activate HighLevel CRM Subaccount
      • Activation Link
      • HighLevel CRM Training Tutorials
    • Use Case Guides
      • GUIDE: CoPilot Best Practices
      • GUIDE: Building Your AI Tool in Seconds with FormWiseโ€™s AI Tool Wizard
      • GUIDE: Building a Course Companion CoPilot in FormWise
      • GUIDE: Building a Niche-Specific AI Toolkit for Your GoHighLevel SaaS
      • GUIDE: How to Embed FormWise CoPilots and SmartForms in GoHighLevel Membership or Course Areas
      • GUIDE: Turning Responses Into PDFs
    • Use Case Examples
      • Quick Guides
        • Building A Simple A.I. Tool
        • Building A Chatbot CoPilot
        • Building An A.I. Lead Magnet
        • Building An A.I. Quiz
        • Building An A.I. Toolset
      • Generate A.I. Tool Ideas Here
      • Embedded Tool Examples
      • Watch Me Build
    • CoPilot Prompt Templates
      • โœˆ๏ธTravel Assistant CoPilot Prompt
      • ๐Ÿ“™Course Creator CoPilot Prompt
      • โœ‰๏ธEmail Responder Coach CoPilot Prompt
      • ๐Ÿ‘œSmall Business Plan Coach CoPilot Prompt
      • ๐Ÿ“˜Facebook Ads Copy Coach CoPilot
      • ๐Ÿ”SEO Article CoPilot Prompt
      • ๐Ÿ“œResume Coach CoPilot Prompt
      • ๐Ÿ’ŒEmail Copy Coach CoPilot Prompt
      • ๐Ÿ“ˆGoHighLevel Coach CoPilot Prompt
      • ๐Ÿฅ‡UVP Coach CoPilot
      • ๐Ÿ’ชFitness Coach CoPilot Prompt
      • ๐Ÿ”ขQuiz Creator CoPilot Prompt
      • ๐Ÿ“œWorking with Transcripts CoPilot Prompt
    • SmartForm Builder GPT
    • CoPilot Builder GPT
  • SUPPORT
    • Account & Billing
    • Support & Office Hours Registration
    • Troubleshooting Errors
      • Page Load Errors
      • Error 500 Troubleshooting
      • Tools Stuck At 75%
      • Form Submission Errors
    • FAQs
    • Whatโ€™s the Difference Between the Pro and Agency Plans?
  • Integrations
    • OpenAI
    • OpenAI Documentation
    • FormWise API
      • POST a Form Completion to Formwise
      • GET a Form Completion from FormWise
      • Form Completion Webhooks
        • Parsing Responses for Zapier
    • Kajabi
      • How to Send FormWise Lead Data into Kajabi using Webhooks
      • How to Embed FormWise CoPilots and SmartForms into Your Kajabi Course
    • Teachable
      • How to Embed FormWise CoPilots and SmartForms in Teachable
    • Circle.so
    • Third Party Platform Embedding
      • WordPress (Embedding Tools)
      • Webflow (Embedding Tools)
      • Wix (Embedding Tools)
      • Squarespace (Embedding Tools)
      • Bubble.io (Embedding Tools)
Powered by GitBook
On this page
  • 1๏ธโƒฃ Uploading Backend Data Sources in SmartForms
  • 2๏ธโƒฃ Attaching Backend Data Sources to Prompt Steps
  • 3๏ธโƒฃ Best Practices for Using Backend Data Sources
  • 4๏ธโƒฃ How Retrieval Works (RAG Explained in Simple Terms)
  • 5๏ธโƒฃ Customizing How AI Uses the Data (Prompt Injection in Data Sources)
  • 6๏ธโƒฃ Avoiding Timeouts & Optimizing Performance

Was this helpful?

  1. Full Features

Using Backend Data Sources in SmartForms

PreviousUsing Front-End File Uploads in SmartFormsNextUsing Backend Data Sources in CoPilots

Last updated 1 month ago

Was this helpful?

FormWise allows SmartForm owners to attach backend data sources to their AI-powered tools. These sources help the AI provide more accurate, context-aware responses by referencing pre-uploaded documents, scraped URLs, and other structured data.

โœ… What Can Be Used as a Backend Data Source?

  • ๐Ÿ“‚ Pre-Uploaded Files: PDFs, CSVs, TXT files

  • ๐ŸŒ Web Scraping: Extracting content from URLs

  • ๐Ÿ” Web Browsing: Searching the web for real-time metadata

  • ๐Ÿ”— Multiple Prompt Steps: Using different data sources across prompt chaining

By attaching backend data before user submissions, you ensure that AI responses are aligned with your industry, niche, or proprietary knowledge. However, too many files or combining multiple retrieval methods can cause timeouts or token issuesโ€”this guide will help you optimize performance.


1๏ธโƒฃ Uploading Backend Data Sources in SmartForms

๐Ÿ”น Where to Upload Backend Data Sources

๐Ÿ“Œ Before attaching them to a SmartForm, all backend data sources must be uploaded in the "Documents" tab inside the SmartForm builder.

๐Ÿ”น Steps to Upload: 1๏ธโƒฃ Go to the SmartForm builder โ†’ Navigate to the "Documents" tab. 2๏ธโƒฃ Click "Upload Document" and select a PDF, CSV, or TXT file. 3๏ธโƒฃ If you want to scrape a URL, enter the URL in the provided field. 4๏ธโƒฃ Once uploaded, these documents & scraped URLs are now available to reference inside your SmartFormโ€™s prompt instructions.


2๏ธโƒฃ Attaching Backend Data Sources to Prompt Steps

Once documents are uploaded, you can attach them to specific prompt steps to guide how AI should use the data.

๐Ÿ”น How It Works: โœ… Each SmartForm prompt step can have its own backend data sources attached. โœ… You can include pre-uploaded documents, scraped URLs, or enable web browsing within each step. โœ… If using multiple prompt steps (prompt chaining), you can attach different data sources at each step.

๐Ÿ“Œ Example Use Case: Step 1: AI pulls insights from a pre-uploaded industry report (PDF). Step 2: AI references a scraped competitor website (URL) for comparisons. Step 3: AI searches real-time trends via web browsing before generating the final response.

๐Ÿšจ Too many data sources in one step can overload AI processingโ€”spread them across multiple steps when needed.


3๏ธโƒฃ Best Practices for Using Backend Data Sources

๐Ÿ”น File Size Limits (Per Upload)

๐Ÿ“Œ Pro Plan: 2MB max per file (multiple files allowed). ๐Ÿ“Œ Agency Plan: 20MB max per file (multiple files allowed).

๐Ÿš€ You can attach multiple files per SmartForm, but too many large files can cause token issues and slow performance.

๐Ÿ”น No Hard Limit on File Uploads, But Be Cautious

โœ… Thereโ€™s no upper limit on the number of files you can attach. ๐Ÿšจ However, AI only processes a certain amount of text at a time. If too much information is loaded, responses may be incomplete, slow, or cause a timeout.

๐Ÿ”น Using Web Scraping & Web Browsing

๐Ÿšจ Avoid combining all retrieval methods (file uploads, web scraping, and web browsing) in one step. ๐Ÿ“Œ Web Scraping (URLs): The AI extracts content from the webpage and treats it like an uploaded file. ๐Ÿ“Œ Web Browsing: AI searches for real-time metadata from search engine results and summarizes findings.

โœ… Best Practice: If your SmartForm already has uploaded PDFs and CSVs, avoid adding unnecessary web browsing or web scraping unless the request specifically needs it.


4๏ธโƒฃ How Retrieval Works (RAG Explained in Simple Terms)

When AI processes a backend data source, it does not "train" on the file but instead: 1๏ธโƒฃ Extracts key insights from the uploaded file or scraped URL. 2๏ธโƒฃ Retrieves relevant portions based on the SmartForm prompt. 3๏ธโƒฃ Generates a response using both AI knowledge + retrieved data.

๐Ÿš€ Think of it as a "smart document search" where the AI finds and summarizes what matters most.


5๏ธโƒฃ Customizing How AI Uses the Data (Prompt Injection in Data Sources)

Each backend data source allows you to inject a short instruction that tells AI how to use the uploaded content.

๐Ÿ”น Default Instruction: ๐Ÿ“Œ "Use this data to substantiate your response."

๐Ÿ”น Best Practices for Custom Instructions: โœ… If analyzing financial reports, use: "Use this data to generate financial summaries." โœ… If comparing competitor websites, use: "Use this scraped data to compare industry trends." โœ… If referencing a policy document, use: "Use this PDF to answer questions about our policies."

๐Ÿ“Œ Customizing this instruction ensures AI retrieves only relevant data instead of processing everything at once.


6๏ธโƒฃ Avoiding Timeouts & Optimizing Performance

If your SmartForm tool is timing out, try these fixes: โœ… Reduce file sizes (split large PDFs into sections). โœ… Limit the number of attached documents per prompt step. โœ… Avoid combining multiple retrieval methods in the same step. โœ… Use precise prompt instructions to make AI focus on the right data.

๐Ÿ“Œ Example Fix: โŒ Bad: "Analyze the entire 50-page report and summarize it." โœ… Better: "Find and summarize the top 3 insights from the report."


๐Ÿš€ Conclusion

Backend data sources make SmartForms more powerful by allowing AI to reference custom documents, structured data, and real-time information.

โœ… Upload your files first in the โ€œDocumentsโ€ tab before attaching them to SmartForm prompts. โœ… Be mindful of file size limits & avoid combining too many retrieval methods in a single step. โœ… Use clear prompt instructions to optimize how AI retrieves data.

By following these best practices, youโ€™ll ensure that your SmartForms run efficiently and deliver high-quality AI-powered responses. ๐Ÿš€

4o