Cloudastick Systems

Cloudastick Blog

Insights & Updates from the Cloudastick Team

April 24, 2026

Unlock Your Creative Potential

Technology and business leaders are constantly seeking ways to stay ahead of the curve and drive growth in their organizations. In today's fast-paced and competitive landscape, creativity is no longer a luxury, but a necessity for success. The ability to think outside the box, come up with innovative solutions, and approach problems from unique angles can make all the difference between a company that thrives and one that struggles to survive.

To become ridiculously more creative, leaders must be willing to challenge their assumptions and embrace a mindset shift. This means letting go of traditional thinking and being open to new ideas and perspectives. It requires a willingness to take risks, experiment, and learn from failures. By fostering a culture of creativity and innovation within their organizations, leaders can unlock the full potential of their teams and drive business success.

One of the key obstacles to creativity is the tendency to get stuck in a rut and rely on familiar patterns and processes. To overcome this, leaders must be intentional about seeking out new experiences, exposures, and inspirations. This can involve attending industry conferences, reading books and articles outside of their usual sphere, or engaging in creative hobbies and activities. By broadening their horizons and expanding their knowledge and understanding, leaders can stimulate their minds and spark new ideas.

Another important aspect of creativity is collaboration and teamwork. When individuals with diverse backgrounds, skills, and perspectives come together, they can share their insights and expertise, and build on each other's ideas. Leaders can facilitate this by creating opportunities for cross-functional collaboration, providing resources and support for innovation, and recognizing and rewarding creative contributions. By harnessing the collective creativity of their teams, leaders can drive innovation and achieve remarkable results.

In the digital age, technology plays a critical role in enabling creativity and innovation. Leaders who leverage cutting-edge tools and platforms, such as Salesforce, can unlock new possibilities for collaboration, automation, and data-driven decision making. By harnessing the power of technology, leaders can streamline processes, enhance customer experiences, and drive business growth.

At Cloudastick, we believe that creativity and innovation are essential for business success. Our team of experts is dedicated to helping organizations unlock their full potential through digital transformation and Salesforce consulting services. Whether you're looking to drive growth, improve efficiency, or enhance customer engagement, we can help you achieve your goals.

By embracing a creative mindset, seeking out new experiences and inspirations, fostering collaboration and teamwork, and leveraging technology, leaders can transform their businesses and achieve remarkable success. So why not take the first step today? Contact Cloudastick to learn more about how our digital transformation and Salesforce consulting services can help you unlock your creative potential and drive business growth.

April 21, 2026

Use Prompt Templates to extract and automate data from files

Introduction

Salesforce works best with structured data—but real-life processes rarely start that way.

You deal with:

  • Business cards
  • PDFs
  • Scanned documents
  • Uploaded images

All of these contain valuable information, but none of it is directly usable inside Flow.

With Prompt Templates, you can now take those files, extract meaningful data, and turn them into actionable records—automatically.


What Makes This Powerful

A Prompt Template allows you to:

  • Define reusable AI instructions
  • Pass dynamic inputs (records, variables, or files)
  • Process real file content (not just metadata)

Supported file types:

  • Images (JPG, PNG)
  • PDFs
  • Text files

Limitations:

  • Max file size: 15 MB

Use Case: Business Card to CRM Data

To make this practical, let’s walk through a simple scenario:

  • User uploads or takes a photo of a business card
  • Salesforce extracts the contact details
  • Flow creates or updates records automatically

Step 1: Create a Prompt Template

Template Setup

  • Type: Flex Prompt Template
  • Add a required input:
    • Name: File
    • Source Type: Object
    • Object: File

Prompt Instructions

Define a clear instruction:

You are an AI agent that extracts contact details from a business card photo.
Extract the following fields: First Name, Last Name, Title, Company Name, Email, and Mobile Phone.
Return the response in JSON format.


Expected Output

{
  "FirstName": "Yumi",
  "LastName": "Ibrahimzade",
  "Title": "Salesforce Solution Architect",
  "CompanyName": "Salesforce Time",
  "Email": "info@salesforcetime.com",
  "MobilePhone": "0549000000"
}


Key Configuration

  • Insert the File input into the prompt
  • Select a model (e.g., Google Gemini 2.5 Pro)
  • Set response format to JSON

Test It

Preview the template with a real image:

  • The file is processed
  • Data is extracted
  • JSON is returned

Step 2: Build an Autolaunched Flow

This flow acts as the processor behind the scenes.

Flow Logic

    • InputContent Document Id
    • Get FileRetrieve Content Document record
    • Call Prompt TemplatePass the file as input
  • Extract JSON ValuesMap fields:
      • FirstName
      • LastName
      • Title
      • Email
      • MobilePhone
    • CompanyName
    • Assign OutputsStore values in Flow variables

Step 3: Build the Screen Flow

This is what the user interacts with.


Screen 1: Upload or Capture Image

  • Allow file upload or mobile photo capture
  • Pass the file to the autolaunched flow

Auto Processing

Once the file is uploaded:

  • The screen action calls the autolaunched flow
  • The autolaunched flow calls the Prompt Template
  • Data is returned and mapped automatically

Pre-Filled Fields

All fields (First Name, Last Name, etc.):

  • Are automatically populated
  • Use default values from the processed results

Improve User Experience

Since processing takes a few seconds:

  • Disable input fields while processing
  • Use the “In Progress” flag from the screen action
  • Prevent users from editing incomplete data

Step 4: Create or Update Records

After extracting the data, the Flow continues with logic such as:

Record Handling

  • Check if Lead already exists
  • Check if Contact already exists

Based on Results

  • If exists → create Campaign Member only
  • If not → create Lead + Campaign Member

Example Flow Behavior

  1. User uploads business card
  2. Data is extracted automatically
  3. System checks for duplicates
  4. Creates only what is needed
  5. Assigns final record IDs

End-to-End Flow Summary

  • Capture file
  • Process with AI
  • Extract structured data
  • Validate existing records
  • Create CRM records automatically

Where This Becomes Useful

This is not limited to business cards.

You can use the same approach for:

  • Resume parsing (extract candidate data)
  • Processing invoices or documents
  • Reading screenshots or customer submissions
  • Creating cases from uploaded files

Benefits

  • Eliminates manual data entry
  • Converts unstructured data into usable fields
  • Speeds up operations
  • Reduces errors
  • Improves user experience

Final Thoughts

Prompt Templates unlock a new layer of automation in Salesforce.

Instead of relying only on structured inputs, you can now:

  • Read files
  • Understand content
  • Extract data
  • Act on it instantly

This shifts Flow from simple automation to intelligent data processing—and that’s where things get interesting.