How Do You Let an AI Agent Match Volunteers to Shifts?
Build an AI agent in Gumloop that applies your shift rules to a volunteer sign-up sheet, prints the rule beside each match and drafts welcome messages.
Write your shift rules on the Shifts tab and give a Gumloop AI agent your volunteer sign-up sheet. It proposes a match only where every rule is met, prints the rule it used beside the match, lists every volunteer and shift left unmatched with the reason, and drafts welcome messages from your template. Its instructions bar sending.
A volunteer match comes down to a few cells: the skills a shift needs, a Yes or No for each time slot and how many places the shift has. Checking those against every sign-up, then writing a welcome message to each volunteer you place, is the slow part.
What are the shift rules, and who writes them?
You do, on the Shifts tab of your own sheet. One column holds the skills a shift needs, a set of availability columns holds Yes or No for each volunteer, and one column holds how many volunteers the shift takes.
The block has the AI agent make no judgment about a person: no ranking, no score, no remark. When more volunteers meet every rule than a shift takes, it doesn't pick any of them and lists them under Tie, beside the shift, for you to choose, unless you've written a tie rule into the block.
What do you paste into the instructions for the volunteer shift matcher?
You help me, [YOUR NAME], [YOUR ROLE] at [ORGANIZATION], propose volunteer shift matches. I'll name a Google Sheet or paste its two tabs, Volunteers and Shifts. Read them only. Write nothing to the sheet. My rules decide every match, and you only apply them. A shift needs the skills in [SKILLS COLUMN], needs a Yes in each of [AVAILABILITY COLUMNS THAT MUST SAY YES], and takes the volunteers in [VOLUNTEERS NEEDED COLUMN]. Propose a match only where every rule is met. Beside each match, print the rule you used and quote the cells it rests on. Make no judgment about a person: rank no one, score no one, describe no one. If more volunteers meet every rule than a shift takes, choose none of them. List them under Tie with the shift, unless I wrote a tie rule here: [YOUR TIE RULE, OR NONE]. List every volunteer and every shift left unmatched, each with the rule that wasn't met. Then draft a welcome message for each matched volunteer from this template: [YOUR WELCOME TEMPLATE]. Use only fields the sheet holds. Where the template asks for something the sheet lacks, write Field not in sheet. Write the drafts as text under each volunteer's name. Send nothing.
How do you build the volunteer matcher in Gumloop?
- 01
Write each shift's rules in its own row.
On the Shifts tab, give every shift a row holding its three rules. On the Volunteers tab, keep skills in one column and give each time slot its own column holding Yes or No. Leave assigned empty.
- 02
Make the matcher from the block above.
In Gumloop, start a new AI agent and describe the job when guided setup asks what it should take care of. On the tab named Agent, paste the block into the instructions box and press Save. Checked on 2026-11-11 against Gumloop's AI agent builder page.
- 03
Connect Google Sheets and gate the matcher's writes.
On the tab named Agent, expand Connectors, click Add, search for Google Sheets and sign in. Then click the approval icon beside it and change Always allow, Gumloop's default, to Ask for writes/deletes. The block bars writing; if an approval card shows a change to the sheet, reject it. The connector help page doesn't list Sheets tools, so read Tool Management in the connector's detail view. Checked on 2026-11-11 against Gumloop's connector help page, Human in the loop and the tool management section of Gumloop's AI agent builder page.
- 04
Open Tool Management before an email tool joins the list.
The welcome messages are text in the task, and you send each from your own email. If you add an email connector later, open its detail view and read which group each tool sits in, Read-only tools or Write/delete tools. A new connector starts at Always allow, so set its approval before the AI agent uses it. Checked on 2026-11-11 against Human in the loop.
- 05
Switch off the matcher's web search, web fetch and browser.
In the Abilities section of the tab named Agent, switch off Web Search and Web Fetch. In the Browser section, switch it off if it's on and press Save. Checked on 2026-11-11 against the abilities table of Gumloop's AI agent builder page and Gumloop's browser page.
- 06
Keep shift-rule changes waiting for you.
Switch off Edit Own Instructions, right under the instructions box. Press Save, then click Performance and, if Reflections is on, use its settings icon to set Apply Suggestions to Review Queue. Checked on 2026-11-11 against the self-improving instructions section of Gumloop's AI agent builder page and Gumloop's page on Reflections.
- 07
Put a staffed week through it and compare.
Pick a week you've already staffed by hand. Name the sheet in a task and ask for both tabs' column headers first; if they don't match your sheet, stop and check the connector. Then ask for the matches and compare them with who worked.
I am an ambassador for Gumloop. Code THANKSNGOS takes 20% off your first month.
Can you point to the rule behind each match?
Open the Shifts row for three matches and find the cells each line quotes. A match that quotes no cell, or one the sheet doesn't hold, was proposed without a rule, so reread the block's second and third paragraphs.
Go down your volunteer list and find every name on the matched, tied or unmatched list. The Tie list is where your rules left a choice, and the choice stays with you. If you're seeing the same tie each week, add a tie rule to the box.
Read the welcome drafts against the sheet. Any Field not in sheet is a column your template wants and the sheet lacks. Once the shifts are filled, use How Do I Build an AI Agent That Tracks Grant Reporting Deadlines? for a one-row-each sheet of dated work. For an event with volunteers, check the day's schedule with Should an AI Agent Check Your Gala Run-of-Show for Overlaps?.
Frequently asked questions
What if two volunteers meet every rule for the last place?
Both are listed under Tie beside the shift. You choose, or you write a tie rule into the block and run it again.
Can it fill in the assigned column for me?
No. The block bars writing to the sheet, and the approval setting asks first if a write tool is ever called. Copy the matches you accept into the column yourself.
What if my sign-ups aren't in a Google Sheet?
Paste the Volunteers and Shifts tabs into the task, after removing any names and columns your rules and welcome template don't need, and skip step 03.