Skip to content

Connector tools

The connector has 88 tools: 54 that only read and 34 that change the CRM and customer support. The assistant picks the tool from your request.

A tool is only available if the module is enabled in the workspace, your role has the matching permission in Valinor and that permission was granted at consent. The tools that change data and the ones that message customers start unchecked at consent: the assistant only gets them if you check them.

No tool permanently deletes a record or merges contacts.

Tools answer in Portuguese, the language of the Valinor app; the assistant translates the answer into your language. Tool titles are shown in Portuguese, as the assistant displays them.

Each tool is listed below with its title, its technical name and its effect: what it does to your data. The effect is the same information the assistant receives to decide whether to ask for your confirmation before calling it.

Effect Meaning
Reads Only queries. Nothing changes in Valinor.
Creates Creates a new record (contact, deal, task, note) without touching existing ones.
Adds Puts a label on an existing record. Repeating it changes nothing.
Changes Replaces what the record had: edit, move, win, assign, remove a label. The previous value is lost, so the tool is announced to the assistant as destructive.
Sends ⚠️ Sends a message to the end customer. Destructive and outside Valinor: once sent, it cannot be undone.

The title is the name the assistant shows when it calls the tool.

  • Resumir contatos · Reads
    crm_contacts_aggregate
    Number of contacts by creation month, city, state, country or company.
  • Listar contatos · Reads
    crm_contacts_list
    Contacts with name, email, phone, city, state, country and creation date, filterable by company.
  • Resumir negócios · Reads
    crm_deals_aggregate
    Deals counted, summed or averaged by stage, pipeline, status, priority, owner, company or month.
  • Listar negócios · Reads
    crm_deals_list
    Deals with contact, pipeline, stage, owner, value, status, priority and close dates, filterable by company.
  • Origem dos leads · Reads
    crm_lead_origins_report
    Leads, open deals, won deals and won value by origin, campaign, tracked link or UTM, by first touch (the contact’s) or last touch (the deal’s).
  • Resumir tarefas · Reads
    crm_tasks_aggregate
    Tasks counted by status, type, priority, owner or month.
  • Listar tarefas · Reads
    crm_tasks_list
    Tasks with title, type, status, priority, owner, contact, deal and dates. Without the task description.
  • Ver contato · Reads
    crm_contacts_get
    A contact’s record: profile, company, custom fields, labels, deals, open tasks and the latest notes.
  • Ver empresa · Reads
    crm_companies_get
    A company’s record: profile, address, custom fields, labels, its people and deals, and the latest notes.
  • Consultar CNPJ · Reads
    crm_companies_lookup_cnpj
    A CNPJ’s public data from the Brazilian federal revenue registry: legal name, trade name, registration status, CNAE, address, phone and e-mail. Saves nothing.
  • Ver negócio · Reads
    crm_deals_get
    A deal’s record: status, value, pipeline and stage, contact, company, owner, source, loss reason, products, custom fields, labels, open tasks and the latest notes.
  • Buscar contatos · Reads
    crm_contacts_search
    Contacts by part of the name, email, phone or tax ID, with or without formatting.
  • Buscar negócios · Reads
    crm_deals_search
    Deals by part of the title or the contact’s name, or a contact’s deals, with a status filter.
  • Listar funis e etapas · Reads
    crm_pipelines_list
    Pipelines with their stages in board order, each stage’s probability and whether it requires the contact’s tax ID.
  • Listar membros · Reads
    crm_members_list
    The workspace’s active members, with name and email. Only shown to those who can see members.
  • Listar grupos · Reads
    crm_groups_list
    The workspace’s groups (teams). Only shown to those who can see groups.
  • Listar etiquetas · Reads
    crm_labels_list
    Labels, shared by contacts and deals.
  • Listar motivos de perda · Reads
    crm_loss_reasons_list
    Active loss reasons and whether each one requires a note.
  • Listar origens de negócio · Reads
    crm_deal_sources_list
    Active deal sources: where the customer came from.
  • Listar produtos · Reads
    crm_products_list
    Active products with their list price.
  • Listar campos personalizados · Reads
    crm_custom_fields_list
    Custom fields of contacts, deals and companies, with type and options.

Records, searches and lists give the assistant the IDs the change tools ask for: it finds the contact, the pipeline and the stage before creating the deal.

  • Criar contato · Creates
    crm_contacts_create
    Creates a contact. Only the name is required. Another contact’s email or tax ID is refused, and a phone already in use comes back with who has it, so the person isn’t duplicated.
  • Editar contato · Changes
    crm_contacts_update
    Edits a contact. Only what the request includes changes.
  • Anotar no contato · Creates
    crm_contacts_add_note
    Adds a note to the contact’s record.
  • Pôr etiqueta no contato · Adds
    crm_contacts_add_label
    Puts an existing label on the contact.
  • Tirar etiqueta do contato · Changes
    crm_contacts_remove_label
    Removes a label from the contact. The label still exists in the workspace.
  • Vincular contato a empresa · Changes
    crm_contacts_link_company
    Links the contact to a company. If it had another one, it now belongs to this one.
  • Criar empresa · Creates
    crm_companies_create
    Creates a company. Only the name is required. Another company’s CNPJ comes back with its ID.
  • Editar empresa · Changes
    crm_companies_update
    Edits a company. Only what the request includes changes.
  • Criar negócio · Creates
    crm_deals_create
    Creates a deal in a pipeline stage, for a contact. Without an owner, it goes to whoever connected the assistant.
  • Editar negócio · Changes
    crm_deals_update
    Edits name, value, priority, expected close, company, owner, source, products and custom fields.
  • Mover negócio de etapa · Changes
    crm_deals_move
    Moves the deal to a stage in the same pipeline or another one. A won deal stays won.
  • Marcar negócio como ganho · Changes
    crm_deals_win
    Marks the open deal as won. Deal-won automations run as in the app.
  • Marcar negócio como perdido · Changes
    crm_deals_lose
    Marks the open deal as lost, with the reason and an optional note.
  • Reabrir negócio · Changes
    crm_deals_reopen
    Reopens a won or lost deal.
  • Anotar no negócio · Creates
    crm_deals_add_note
    Adds a note to the deal.
  • Pôr etiqueta no negócio · Adds
    crm_deals_add_label
    Puts an existing label on the deal.
  • Tirar etiqueta do negócio · Changes
    crm_deals_remove_label
    Removes a label from the deal.
  • Criar tarefa · Creates
    crm_tasks_create
    Creates a task, linked or not to a contact and a deal. Without an owner, it goes to whoever connected the assistant.
  • Editar tarefa · Changes
    crm_tasks_update
    Edits title, description, type, priority, contact and deal.
  • Concluir tarefa · Changes
    crm_tasks_complete
    Completes the task. A recurring task creates the next one, as in the app.
  • Reagendar tarefa · Changes
    crm_tasks_reschedule
    Changes the task’s due date.
  • Reatribuir tarefa · Changes
    crm_tasks_reassign
    Hands the task to another member, who gets the notice as in the app.

Each tool requires the edit permission for the same record in the app: someone who can only view deals in Valinor can’t move a deal through the assistant. Changes go through the same checks as the screen and trigger the same automations, and the contact and deal history show they came from the connector.

  • Saldos das contas · Reads
    finance_accounts_balances
    Financial accounts (bank, cash, wallet, card) with today’s balance or the balance on a chosen day. Only shown to those who can see accounts.
  • Fluxo de caixa · Reads
    finance_cash_flow
    Consolidated cash flow by month or day: opening balance, realized and expected inflows and outflows, and closing balance. Only shown to those who can see reports.
  • DRE · Reads
    finance_dre
    Management income statement (DRE) by month, on an accrual or cash basis: groups, categories and results (net revenue, gross profit, operating and net result). Only shown to those who can see reports.
  • Listar notas fiscais · Reads
    finance_fiscal_notes_list
    Service invoices (NFS-e) of a period with number, date, customer, invoice, service, amount, ISS, status and environment. Test ones only with incluir_teste.
  • Pendências fiscais · Reads
    finance_fiscal_pending
    What keeps a service invoice from going out or being right: rejected, uncertain, automatic one that did not go out, expiring certificate and what the daily check with the Receita found. Also tells when the Sefin is down.
  • Resumir parcelas · Reads
    finance_installments_aggregate
    Payable and receivable installments counted or summed (amount, paid, outstanding balance) by type, status or due month. Only shown to those who can see entries.
  • Listar parcelas · Reads
    finance_installments_list
    Payable or receivable installments with description, counterparty, due date, amount, paid, balance, status and categories. Only shown to those who can see entries.
  • Resumir faturas · Reads
    finance_invoices_aggregate
    Invoices counted or summed (total, discount, paid, receivable balance) by status, customer, currency or month.
  • Listar faturas · Reads
    finance_invoices_list
    Invoices with number, status, customer, dates, total, paid, balance and whether it is overdue.
  • Resumir pagamentos · Reads
    finance_payments_aggregate
    Received payments counted or summed by payment method, source, currency or month.
  • Listar pagamentos · Reads
    finance_payments_list
    Payments with invoice, customer, payment method, source, date and amount.

Amounts in different currencies are never added together: each currency is its own row. The connector doesn’t issue charges, record payments or move money.

  • Prever refeições · Reads
    hospitality_meals_forecast
    How many breakfasts, lunches and dinners to serve each day over up to 31 days, with adults and children apart. Counts confirmed and in-house reservations that have the meal through their rate plan or because they chose it.
  • Ocupação dos quartos · Reads
    hospitality_occupancy
    Occupancy rate over a period, by month or room category, with occupied and available room-nights, room revenue, average daily rate (ADR) and RevPAR.
  • Calendário do plano tarifário · Reads
    hospitality_rate_plan_calendar
    A rate plan’s calendar over a period: per category and night, the final nightly rate (reference and per occupancy), the layer that set it (base, weekday, season or date price), each adjustment alongside and the day’s restrictions (minimum and maximum stay, closed to arrival or departure, stop sell). Only shown to whoever can see rate plans.
  • Listar planos tarifários · Reads
    hospitality_rate_plans_list
    Rate plans with their sale conditions (cancellation, no-show, meal plan, deposit and balance, long-stay discount), which plan they derive from and with what adjustment, the nightly rate for each occupancy per category, the weekday adjustment and the length-of-stay discount tiers. Only shown to whoever can see rate plans.
  • Resumir cotações · Reads
    hospitality_quotes_aggregate
    Quotes by status, creation month, check-in month or number of rooms, with how many became reservations, the conversion rate, the quoted value, the value of those that became reservations, the rooms quoted and how many were group quotes (more than one room). Only shown to whoever can see quotes.
  • Resumir reservas · Reads
    hospitality_reservations_aggregate
    Reservations counted or summed (value, nights, guests, adults, children) by status, category, rate plan, room, month, meal plan or cancellation policy.
  • Listar quartos · Reads
    hospitality_rooms_list
    Rooms with their category, floor and today’s housekeeping status (clean, dirty, inspected or out of order), and the out-of-order period with its reason. Only shown to whoever can see rooms.
  • Listar temporadas · Reads
    hospitality_seasons_list
    The rate seasons and special dates in full: periods, kind, color, minimum and maximum nights, closed arrivals and departures and, per plan, the adjustment, the price and weekday adjustment per category, the booking window, the length-of-stay discount tiers (general and per category), the conditions the season overrides and whether the plan stops selling in it. Optional filter by season and by plan. Only shown to whoever can see rate plans.
  • Listar reservas · Reads
    hospitality_reservations_list
    Reservations with guest, category, room, rate plan, dates, nights, adults and children, meal plan and cancellation policy, status, value and the reservation group of a group quote, with how many rooms it has. Without reservation notes.
  • Resumir vendas de day use · Reads
    hospitality_dayuse_sales_aggregate
    Day use sales counted by visit day or month, channel (website, attendant or box office) or status, with visitors and total value. Only shown to whoever can see day use sales.
  • Listar vendas de day use · Reads
    hospitality_dayuse_sales_list
    Day use sales with the buyer, the day use, the visit date, the channel, the status, visitors and value. Only shown to whoever can see day use sales.
  • Gravar preço e restrições do RMS · Changes
    hospitality_rms_rates_write
    Writes, in batch, the base price of each category and night of a base rate plan and its restrictions (minimum and maximum stay, closed to arrival or departure, stop sell), the way an RMS does. Derived plans follow the new price; a derived plan is refused. The restrictions live in a layer of their own and never erase the ones you set by hand. Every write goes into the rate history with the RMS origin. Only shown to whoever can edit rate plans.
  • Criar ou editar temporada · Changes
    hospitality_seasons_save
    Creates or edits a season or special date by name, sending only what changes, with the same fields and texts as Listar temporadas: periods, kind, color, nights, closed arrivals and departures and, per plan, the adjustment, the price and weekday adjustment per category, the booking window, the length-of-stay discount tiers (general and per category), the sale conditions and whether the plan stops selling in it. A plan left out stays as it is. Saved with the same rules as the app and recorded in the rate history. Only shown to whoever can edit rate plans.
  • Editar plano tarifário · Changes
    hospitality_rate_plans_update
    Edits a rate plan by name, sending only what changes, with the same fields and texts as Listar planos tarifários: the reference nightly rate per category, the weekday adjustment, the length-of-stay discount tiers and the sale conditions (deposit, deadlines, cancellation and no-show). The rest of the plan stays as it is; a derived plan takes no price of its own. Saved with the same rules as the app and recorded in the rate history. Only shown to whoever can edit rate plans.

Meal plan and cancellation policy are the current conditions of the reservation’s rate plan. A quote’s value is the total of the accepted option or, before acceptance, of the recommended one.

  • Resumir o clube de fidelidade · Reads
    loyalty_statement_aggregate
    The club statement summed by month, for the whole club or one contact: opening balance, cashback earned, credit redeemed, expired, adjustments, imported balances, reversals, closing balance and the still-valid credit expiring in each month. Only shows for those who can see the loyalty statement.
  • Resumir conversas · Reads
    omnichannel_conversations_aggregate
    Conversations counted by status, channel, agent or month, unanswered conversations and average first response time.
  • Listar conversas · Reads
    omnichannel_conversations_list
    Conversations with contact, channel, status, agent and dates. No message text at all.
  • Resumir mensagens · Reads
    omnichannel_messages_aggregate
    Messages counted by direction, type, channel or month. No message text at all.
  • Relatório de atendimento · Reads
    omnichannel_attendance_report
    Average first response, response and resolution times and the share within SLA, overall, per agent or per channel. Numbers only.
  • Relatório de satisfação · Reads
    omnichannel_satisfaction_report
    CSAT, NPS, average score and response rate of the satisfaction survey, overall, per agent, group or channel. Numbers only, no comments.
  • Resumir custos das mensagens · Reads
    omnichannel_costs_aggregate
    The cost of WhatsApp messages in reais by month, Meta category, number, origin or deal, estimated and reconciled with Meta. Only shown to people who can see WhatsApp costs.
  • Listar respostas prontas · Reads
    omnichannel_canned_responses_list
    Canned responses with shortcut and text. Only shown to people who can see canned responses.
  • Listar templates do WhatsApp · Reads
    omnichannel_templates_list
    Approved WhatsApp templates with language, Meta category (which sets the price) and body text. Only shown to people who can see templates.

Message content — permission omnichannel:messages:read

Section titled “Message content — permission omnichannel:messages:read”
  • Listar mensagens · Reads
    omnichannel_messages_list
    The messages of one conversation, with their text. Team internal notes are flagged as such.
  • Ver conversa · Reads
    omnichannel_conversations_get
    A conversation’s record: status, channel, contact, agent, group, labels, linked deal and the 20 most recent messages, with their text.

None of these tools sends a message to the customer: they only organize the support queue.

  • Atribuir conversa a um membro · Changes
    omnichannel_conversations_assign
    Hands the conversation to a member who serves the channel. Whoever takes it removes the chatbot from it.
  • Atribuir conversa a um grupo · Changes
    omnichannel_conversations_assign_group
    Hands the conversation to a team group.
  • Resolver conversa · Changes
    omnichannel_conversations_resolve
    Marks the conversation as resolved. It comes back on its own if the contact writes again.
  • Reabrir conversa · Changes
    omnichannel_conversations_reopen
    Moves a resolved, pending or snoozed conversation back to open.
  • Adiar conversa · Changes
    omnichannel_conversations_snooze
    Takes the conversation out of open until a date and time. It comes back earlier if the contact writes.
  • Pôr etiqueta na conversa · Adds
    omnichannel_conversations_add_label
    Puts an existing label on the conversation.
  • Tirar etiqueta da conversa · Changes
    omnichannel_conversations_remove_label
    Removes a label from the conversation.
  • Vincular negócio à conversa · Changes
    omnichannel_conversations_link_deal
    Links an open deal of the same contact to the conversation.
  • Desvincular negócio da conversa · Changes
    omnichannel_conversations_unlink_deal
    Unlinks the deal from the conversation. The link stays in the deal’s history.

Each tool requires the same permission as handling conversations in the inbox, and only works on the channels you serve in Valinor.

Send to customers — permission omnichannel:send

Section titled “Send to customers — permission omnichannel:send”
  • Responder conversa · Sends ⚠️
    omnichannel_conversations_reply
    Sends a message to the customer in a conversation: a text or a canned response, filled in with the contact’s details.
  • Iniciar conversa com template · Sends ⚠️
    omnichannel_conversations_start
    Sends an approved WhatsApp template to a contact, to open a conversation or resume it after the 24-hour window. Returns the message’s estimated cost in reais.

Both are destructive: the customer gets the message right away and it cannot be undone. The assistant should ask for your confirmation before each send.

  • The message goes out in your name: in the inbox it shows as sent by whoever authorized the connection.
  • On WhatsApp, a reply only goes out within the 24-hour window since the contact’s last message. Outside it, the conversation can only be resumed with an approved template.
  • WhatsApp templates are charged by Meta, according to their category (marketing costs more than utility). The cost shows up under Atendimento → Custos (omnichannel → costs), like any template sent from the app.

Queries:

  • “How many new contacts came in each month this year?”
  • “List the 10 largest open deals and who owns each one.”
  • “How many overdue tasks does each team member have?”
  • “How much did I invoice in August? And how much is still receivable from overdue invoices?”
  • “How much did I spend on WhatsApp in October, by category?”
  • “What was March occupancy by room category?”
  • “How is the non-refundable rate built? Why is Saturday, November 7 more expensive?”
  • “What is the average WhatsApp first response time per agent?”

Changes (with crm:write and omnichannel:write):

  • “Add Ana Souza, phone (11) 98888-7777, and open a R$ 2,400 deal for her in the Sales pipeline.”
  • “Move Ana’s deal to Proposal sent and create a task for me to call her on Friday at 10am.”
  • “Mark the Clínica Sorriso deal as lost, with the reason Price.”
  • “Assign João’s conversation to Pedro and add the VIP label.”

Sending (with omnichannel:send):

  • “Reply to João saying Saturday’s reservation is confirmed.”
  • “Send the welcome template to Ana Souza.”
  • Listings return at most 500 rows per call and say when the list was cut.
  • Searches return 20 rows unless the assistant asks for another number, up to 500.
  • Aggregations return at most 1,000 groups and also say when they cut.
  • Records include the 5 most recent notes; a conversation’s record includes the 20 most recent messages.
  • Occupancy accepts periods of up to 36 months.
  • A rate plan calendar accepts periods of up to 62 days.
  • The same change requested again by the same connection, with the same data, within 10 minutes returns the first answer without creating, changing or sending anything again.
  • Each connection can make up to 60 calls per minute. Beyond that the call is refused and the assistant has to wait a moment.
  • Every call, read or change, counts toward the workspace’s monthly AI call limit.