Webinar: From Inbox to Approved: Smarter Approval Workflows with EzzyBills (Register)

Skip to main content

EzzyBills User Guide

AI Tasks – Build Tasks with AI

What is an AI Task?

An AI Task is a workflow task generated by EzzyBills AI. It allows you to describe what you want to automate in plain English, and EzzyBills AI will generate the software code required to perform the task.

Once created, an AI Task can be added to an EzzyBills workflow. When a document is processed through that workflow, the AI Task runs automatically and performs the actions you have defined.

AI Tasks can be used to customise document processing, update invoice information, validate data, apply business rules, and automate repetitive activities.

How to Create an AI Task

  1. Log in to your EzzyBills account.
  2. Click Automation (AI) in the left menu.
  3. Select the AI Task tab.
  4. Enter a Task Name to identify your task.
  5. Enter a Comment (optional) to explain the purpose of the task.
  6. In the Description field, describe what you want EzzyBills to do in plain English.
  7. Click Create Task.
  8. Review and test the generated task before using it in your workflow.

How to Write AI Task Instructions

You do not need to know how to write software code. Simply describe the actions you want EzzyBills to perform.

For the best results, clearly explain:

  • Use examples provided to get started.
  • What information the task should check.
  • What actions the task should perform.
  • Any conditions or business rules to follow.
  • What the expected result should be.
  • What should happen if a condition is not met.

Example 1: Update Invoice Number

Task Description:

Get the invoice number. If the invoice number does not start with “INV”, add “INV” to the beginning of the invoice number. Keep the original invoice number if it already starts with “INV”.

Example 2: Assign GL Codes

Task Description:

Check all invoice line descriptions. If a description contains “Freight”, set the GL code to 404. If a description contains “Office Supplies”, set the GL code to 200. Do not change the GL codes of other lines.

Adding an AI Task to a Workflow

After creating an AI Task, you can add it to a workflow so that it runs automatically during document processing.

  1. Open Workflows/Agents from the left menu.
  2. Open the workflow you want to customise.
  3. Add the AI Task to the appropriate stage of the workflow.
  4. Save your workflow changes.
  5. Process a test document to confirm that the task works as expected.

Important: The position of the AI Task in the workflow matters. For example, a task that updates extracted invoice data should run after the relevant information has been extracted and before the document is exported.

More Examples and Instructions

On the AI Task page, click More Examples & Instructions to view additional guidance.

The following sections are available:

  • What is an AI Task? – An introduction to AI Tasks and how they work.
  • Instructions & Tips – Guidance for writing task descriptions.
  • EzzyBills Data Fields & Elements – Information about the data available to AI Tasks.
  • Examples without Forms – Examples of tasks that run without user input forms.
  • Examples with Forms – Examples of tasks that use input forms.
  • Use Task Setting – Information about using task settings.
  • Building Integrations – Guidance for using REST services with API keys.
  • Standalone Tasks (obsolete) – Legacy standalone task information.

Testing Your AI Task

Always test an AI Task before using it with live documents.

  1. Create your AI Task.
  2. Add it to a test workflow.
  3. Upload a sample document to this workflow (Dashboard > Advanced Upload).
  4. Review the document processing results on the Dashboard.
  5. Confirm that the task performed the expected actions.
  6. If necessary, refine the instructions and test again.

Tips for Better Results

  • Use simple, clear English.
  • Describe one action at a time.
  • Specify exact field names where possible.
  • Include conditions and exceptions.
  • Provide examples of expected results.
  • Avoid ambiguous or conflicting instructions.
  • Test the task with different document examples.

Frequently Asked Questions

Do I need programming knowledge?

No. You can describe your requirements in plain English. EzzyBills AI generates the software code required to perform the task.

Can I use AI Tasks in different workflows?

AI Tasks can be added to workflows. Check that each task is appropriate for the workflow and document type before using it.

Can AI Tasks change extracted invoice information?

Yes. AI Tasks can be designed to update invoice fields, line items, GL codes, tax amounts, and other document data.

Can AI Tasks connect to external systems?

AI Tasks can be developed for integrations using REST services and API keys. Refer to the Building Integrations section for more information.

What if my AI Task does not work correctly?

Review the task instructions and confirm that the required document information is available. Refine the description and test the task again.

Need Help?

If you need assistance creating an AI Task or configuring your workflow, contact EzzyBills: support@ezzydoc.com

Sections of Article