Workflows and examples
Try a one-contact workflow
In browser consent, select your personal or team workspace. Preview requires read access. Approve search, list, and export permissions only when you intend to use those operations.
Preview an audience for free
Show the connected Dievio workspace and available workspace credits. Count contacts with the title Founder at stripe.com. Tell me whether the count is exact or estimated. Wait for my approval before running any paid search.
- Read
get_accountand confirm the workspace matches the user's intent. - Discover filters with
get_search_filters. Useget_search_countwith{"company_websites":["stripe.com"],"job_titles":["Founder"]}insidefilters. Report the count and its exact or estimated status. This uses zero credits.
Find leads, save a list, and export
When you are ready, give a separate instruction to run the capped search.
Run the search with those same filters and return at most one contact. Save any result to a new list called Stripe founder test and give me the CSV download link.
- Call
search_leadswith the agreed filters, a newrequest_id, andmax_results: 1. - Poll the returned
job_idwithget_search_joband read its rows withget_search_results. If the job fails or returns no rows, report the outcome. - When a result is available, call
create_list, thensave_search_results. Saving preserves the returned fields inlead_data. - Call
export_list_filewithformat: "csv"and give the user the private download link. Download within 15 minutes.
A returned contact uses one workspace credit. A successful search with no matches uses zero credits. Reading, saving, and exporting the result add no credit charge. For larger lists, follow the pagination rules.
Reuse an existing search
Take the results from my latest completed search, create September outreach, and save every contact with all fields. Don't run a new search.
Use list_search_jobs to identify the job, check it with get_search_job, create the list, and paginate save_search_results using the existing job ID.
Work with your team
Show the lists and available credits in my connected team account, then preview marketing directors in the UK for free.
Start with get_account, get_team, and list_lists. If the connected account is wrong, reconnect with the intended team. The agent cannot switch ownership by supplying another user's ID to a tool.
Enrich LinkedIn profiles
Find work emails for these LinkedIn profile URLs. Return at most 20 matches, with no phone lookup.
Use lookup_linkedin with the supplied URLs, maxResults: 20, includeWorkEmails: true, includePersonalEmails: false, and includePhones: false. This is a paid operation for returned matches; previewing an audience is a separate free workflow.
Download a file without opening Dievio
Export my US founders list as a downloadable CSV, with email, name, company, and company website as separate columns.
Find the list with list_lists, inspect its saved fields if needed, then call:
{
"list_id": "<list UUID returned by Dievio>",
"format": "csv",
"columns": ["email", "full_name", "company_name", "lead_data.company_website"]
}
Use these arguments with export_list_file. A requested path missing from a contact
produces an empty cell. Use actual field paths from the saved contact payload.
Omit columns for all available data, or choose json / jsonl to preserve nested
structures. The result contains a ready-to-download link; the agent does not need
to paste contacts into the chat or assemble pages. Download within 15 minutes; ask
Dievio for a new link if it expires. This is free and works in the selected personal
or team account. The site is needed only for initial connection approval.
Pagination for inline results
Result, saved-contact, and inline export_list tools use offset / limit. Start at offset 0, advance by the number of returned rows, and continue while has_more is true. save_search_results also returns next_offset; use it for the next page.
Each CSV page includes a header row. When combining pages, keep the header from the first page only. The lead_data column contains additional fields encoded as JSON. CSV cells are escaped to avoid executing spreadsheet formulas.
list_lists and list_search_jobs return arrays. Request successive offsets until a page contains fewer items than the requested limit. A single page is not necessarily the complete account history.
Retries without duplicate work
For mutations, generate one request_id UUID per intended operation and keep it alongside the arguments. Retry with the same ID and identical arguments after a lost response. Do not use a new ID to bypass an uncertain or in-progress result.
For a search, reconcile against the returned job ID or recent jobs before starting anything new. For a list mutation, read the list again to see whether it was applied. If the outcome remains uncertain, resolve it before creating another operation. Never blindly repeat a paid lookup with a new request ID.
Only queued searches can be cancelled. Running searches cannot safely be cancelled while the worker is processing and charging for results.