How to Automate Facebook Company Posts Using Saved Information with Your Personalized AI Assistant

Description:
This template automates creating and posting content on a Facebook company page using Uxer’s personalized AI automation assistant, based on saved information. You provide the input, and Uxer uses that information to create and publish posts on your company’s Facebook page.


How to Use It:

  • Create the scenario using the scenario directives and content similar to the example below.
  • Copy and paste the template.
  • Run the scenario, and it will generate new content on your Facebook company page.

Step-by-Step Process for Setting Up Your Automation Scenario

  1. Create a New Scenario

    • Navigate to the Uxer platform and click on Create New Scenario to start setting up your automation.
  2. Choose Dynamic Mode

    • Select Dynamic Mode for the scenario. This mode ensures that the scenario steps are regenerated from the beginning each time before execution, using your personalized knowledge base.
  3. Fill in the Name and Scenario Directives

    a. Provide a Name
    Provide a name for your automation scenario.
    Example: “Automate Facebook Company Page Posts Using Saved Information with Your Personalized AI Assistant.”

    b. Fill in the Scenario Directives
    Enter clear and actionable steps in the Scenario Directives field.
    Important: The scenario name is not considered a directive. All directives should be listed here.

    You are a Facebook posting assistant for our brand, Uxer.
    Automate the creation and posting of content on our Facebook company page based on the provided information.
    Ensure that some posts focus on the benefits customers can gain from the platform, while others highlight Uxer's key features.
    Each post should be at least 200 words in length.
    Avoid repeating content from the last 20 posts, and instead, emphasize new points in each one. Replace the "Write" step with the generated post.   
    

    c. Fill in the Knowledge Archive
    Provide relevant information and content that can be used by your personal assistant.
    Example:

    ## Uxer Overview
    
    Uxer is a personalized automation assistant that makes automation easy and accessible for everyone. It automates tasks across Windows, Mac, browser, iOS, and Android, learning from each interaction to become smarter, powered by advanced computer vision and AI.
    
    ### Key Features
    
    - User-Friendly Automation: Uxer provides an intuitive automation solution for both technical and non-technical users. Automating tasks is as simple as using a command like `Click Button 'Login'`. Task automation is straightforward and accessible to everyone.
    
    - Personalized Agent: Uxer’s AI builds a unique knowledge base from your inputs and previous scenarios. When creating new automation, Uxer uses this knowledge to generate scenarios for you. It’s like having an assistant that learns from you, making your automation smarter and more efficient.
    
    - AskUxer: Uxer’s built-in ChatGPT-like feature lets users ask questions, get dynamic responses, and extract on-screen data. Whether it’s generating random data, crafting creative content, or scraping information from PDFs, emails, or websites, AskUxer enhances your automation capabilities.
    
    - Selector-Free Visual Automation: Uxer simplifies automation by eliminating traditional selectors like CSS and XPath. Uxer analyzes visual elements within applications to automate tasks based on visual recognition, enhancing ease of use and accessibility.
    
    - Natural Language Processing (NLP): Uxer uses advanced NLP to convert natural language commands into executable actions. Users can communicate instructions in everyday language, which Uxer translates into automated tasks.
    
    - Supported Apps: Uxer supports automation on Windows, Mac desktops, browsers, iOS (for Mac), and Android. Commands work seamlessly across platforms.
    
    - Reusable Scripts Across Platforms: Uxer scripts are flexible, allowing commands like `Click Text 'Log in'` to work consistently across Mac, Windows, iOS, and Android. As long as the element is visible, commands can be reused across platforms.
    
    - Code Editor Mode: Uxer’s scripting language is based on a simple text file format. The Code Editor Mode offers a dedicated interface for developers to write and customize automation scripts.
    
    - Modular Automation: Uxer allows you to create flexible workflows by combining multiple scenarios into one. Modular Automation helps you build and manage complex tasks easily.
    
    - Command Line / Terminal Integration: Uxer includes a RunCommand feature that lets users execute terminal-like actions within automation scenarios. It allows running scripts, managing files, or performing system tasks seamlessly.
    
    - API Integration: Uxer provides open APIs for integrating with other tools and systems, enhancing workflow automation and data exchange capabilities, including CI/CD pipeline integration.
    
    - Simple Troubleshooting and Screenshot Verification: Uxer offers fast troubleshooting tools like single-step and multi-step runs. Screenshot verification allows users to visually confirm the accuracy of each step.
    
    - Custom Image Detection with Screen Scraper: Uxer includes a screen scraper for custom image detection, enabling task automation based on specific visual elements like icons.
    
    - Start Automation with Existing Window: Uxer allows automation to start with an already open window, saving time by skipping app initialization.
    
    - Uses Your Own Browser: Uxer works with your existing browser, eliminating the need to log in or manage cookies separately.
    
    - Automatic Retry for Element Detection: Uxer includes a built-in retry feature that waits until elements appear on the screen, ensuring reliable automation even with delays.
    
    - Detailed Execution Reports: Uxer provides detailed execution reports, including screenshots, to help users verify and review each step of the automation process.
    
    - Local and Remote Execution: Uxer supports both local and remote execution, allowing automation tasks to run on a remote machine or in the cloud.
    
    - Scheduled Scenarios: Uxer allows users to schedule automation scenarios for recurring execution, automating routine tasks consistently without manual intervention.
    
    - Unlimited User Collaboration: Uxer enables unlimited user collaboration, allowing multiple users to work on automation projects simultaneously.
    
    - Advanced Configuration Options: Uxer provides advanced configuration options at project, scenario, and step levels, giving users full control over automation workflows.
    
    - Multilanguage Support: Uxer supports automation in multiple languages, making it adaptable to various linguistic needs.
    
    ---
    
    ## Use Cases by Customer Segment
    
    ### Small and Medium-Sized Business Owners
    - Automate your workflows:
      - Document Approval Processes
      - Lead Management and Follow-Up
      - Inventory Management
      - Data Entry and Report Generation
      - Social Media Posting and Interactions (Facebook, Instagram, Twitter, LinkedIn)
      - Email Campaigns and Customer Outreach
      - Invoicing and Payment Reminders
      - Customer Relationship Management (CRM)
    
    ### Startups, Entrepreneurs, and Solopreneurs
    - Get more done with your personal assistant:
      - Lead Management and Follow-Ups
      - Social Media Posting
      - Email Campaigns
      - CRM Updates
      - Invoice Generation and Payment Reminders
      - Blog Posts
      - Data Backup and Syncing
      - Customer Support
    
    ### Operations and Workflow Managers
    - Automate repetitive tasks:
      - Task Management and Delegation
      - Report Generation and Distribution
      - Workflow and Process Automation
      - Document Approval Processes
      - Data Entry
      - Data Transfer
      - Task Management
      - Screen Scraping for Data Collection
    
    ### Freelancers and Independent Consultants
    - Boost productivity with automation:
      - Client Communication and Follow-Ups
      - Proposal and Contract Generation
      - Payment Reminders
      - Invoice Generation
      - Data Entry Automation
      - Social Media Presence
      - Client Feedback Collection
      - Data Backup and Syncing
      - Outreach
    
    ### Digital Marketing and Creative Agencies
    - Increase efficiency with smart automation:
      - Social Media Scheduling
      - Client Reporting
      - Email Campaign Automation
      - Client Proposal Generation
      - Invoice Creation and Follow-Ups
      - Content Publishing
    
    ### E-commerce and Customer-Focused Businesses
    - Accomplish more with your AI assistant:
      - Order Processing and Shipping Updates
      - Inventory Management
      - Customer Support
      - Payment Reminders and Invoice Generation
      - Product Listings and Website Updates
      - Customer Feedback Collection
      - Cart Abandonment Follow-Ups
      - Loyalty Program Management
    
    ### IT, DevOps, and Software Engineers
    - Automate to save time and increase output:
      - Infrastructure Monitoring and Alerts
      - CI/CD Pipelines
      - System Backup and Data Syncing
      - Security and Compliance Checks
      - Server Configuration and Management
      - Deployment Automation
      - Log Monitoring and Reporting
      - Resource Allocation and Optimization
    
    ### Quality Assurance (QA) Engineers and Software Testers
    - Automate your tests with ease:
      - Cross-Platform Testing
      - Test Automation
      - Regression Testing
      - Environment Setup and Configuration
      - UI Testing
      - Create your personal test bot for your project
    

  4. Save the Scenario and Let AI Generate the Steps
    Save the scenario. At this point, your personalized agent will generate the relevant steps for you.

  5. Go to Scenario Editor and Paste the Correct Template in Code Editor Mode
    Go to scenario editor by clicking the name of the scenario. The steps generated might not be correct initially. Switch to Code Editor Mode and paste the following template:

    OpenBrowser Chrome "https://www.facebook.com/Uxer.ai.automation" -Incognito false
    MoveMouseTo Text "See dashboard"
    Scroll 3
    Click Text "What's on"
    Write "Here is the test post" -WaitAfter 4000
    SendKeys Space
    SendKeys SHIFT TAB+TAB+TAB
    SendKeys RETURN
    


  6. Run the Scenario for Testing
    Run the scenario to ensure it works as expected. Adjust your steps if needed.

  7. Regenerate the Scenario for Dynamic Posts
    Your personalized AI assistant is now trained with the knowledge and example scenario. Each time you run the scenario in Dynamic Mode, Uxer will regenerate new content for the post. After running the scenario, refresh the page to see the updated scenario.

  8. Reuse Across Projects
    The information and template you provided are now part of Uxer’s knowledge base and can be used across all projects. Uxer will use this knowledge in both Dynamic and Consistent modes to simplify creating automation tasks.


Step-by-Step Explanation for the Automation Scenario Given Above:

  1. Open Chrome and Navigate to the Facebook Company Page
    The scenario opens Chrome and navigates to the Facebook company page. Incognito mode is disabled to ensure the user stays logged in.

    OpenBrowser Chrome "https://www.facebook.com/Uxer.ai.automation" -Incognito false
    
  2. Scroll to the Post Section
    The scenario moves the mouse to the “See dashboard” section and scrolls down to the post field.

    MoveMouseTo Text "See dashboard"
    Scroll 3
    
  3. Click the “What’s on” Text Field
    The scenario clicks on the “What’s on” text field to start writing the post.

    Click Text "What's on"
    
  4. Write the Post Content
    The scenario writes the content for the post: “Here is the test post.” This content can be replaced dynamically in future runs.

    Write "Here is the test post" -WaitAfter 4000
    
  5. Simulate a Space Keypress
    The scenario simulates pressing the space key to ensure the post button is activated.

    SendKeys Space
    
  6. Navigate to the Post Button and Submit
    The scenario uses the SHIFT+TAB+TAB+TAB key combination to navigate to the post button and presses RETURN to submit the post.

    SendKeys SHIFT TAB+TAB+TAB
    SendKeys RETURN
    

Complete Scenario:

OpenBrowser Chrome "https://www.facebook.com/Uxer.ai.automation" -Incognito false
MoveMouseTo Text "See dashboard"
Scroll 3
Click Text "What's on"
Write "Here is the test post" -WaitAfter 4000
SendKeys Space
SendKeys SHIFT TAB+TAB+TAB
SendKeys RETURN

Let us know if this template is helpful or if you need any other templates!