How do I add deals for companies already in my CRM?
Tick the companies on the Companies list, click Add to pipeline, and pick a pipeline: each company gets its own deal at the first stage.
Open Companies, tick the companies you want, click Add to pipeline and pick a pipeline. Each company gets one deal, named after it, at the first stage of that pipeline. You can also ask Sam, or use the API.
Also called: bulk add deals, create deals from companies, add companies to a pipeline, many deals at once, ajouter au pipeline, créer des deals pour des entreprises
Add deals from the Companies list
You see every company in your CRM. Search or filter to find the ones you want.
Tick the box in front of each company you want. The box at the top of the column ticks every company on the page. On a phone, tap Select first, then tick the companies.
A bar shows how many you picked (for example "2 selected"), with Add to pipeline (Pipeline on a phone), Merge and Delete. To pick every company your search or filter finds, click the "Select all" link that appears once the whole page is ticked. There is no limit on how many you can pick.
Click Add to pipeline. A menu lists your pipelines.
Click the pipeline you want. The deals are made right away, and a message says how many: "2 deals opened in Sales".
If some companies were skipped, the message adds how many ("1 company was already there"). The selection is cleared.
To take it back, click Undo on that message. It deletes only the deals this action just made.
What each new deal looks like
It starts at the first stage of the pipeline you picked. Move it on later from the deals board. See How does the deals board work?
It is named after the company, and has no contact on it. Its page lists the company's people.
Its owner is the company's owner. If the company has no owner, it is you.
The company, its contacts and its other deals don't change.
Which companies are skipped
A company that already has an open deal on that pipeline gets no second one. It is counted as "already there".
A company that was filed twice (the "Same business?" card on its page) counts as already there too, if the other copy has an open deal on that pipeline that you may see, or just got one in the same action.
A won or lost deal doesn't stop a new one.
A company you can't see, or that was deleted, is left out without a message.
Ask Sam
Tell Ask Sam which companies and which pipeline, like "Add every company I own in the Agency industry to the Sales pipeline". Sam opens one deal per company, the same way as the button, and gives you an Undo.
With the API
This is for a developer, or a tool that can send web requests. Use a key with Full access (only an admin can make one, in Connectors → API under New key).
Base URL: https://api.alori.dev/v1. Send the header Authorization: Bearer YOUR_KEY, and Content-Type: application/json.
Send a
POSTto/deals/from-companies. Say which companies, and where the deals go.Which companies (at least one of these, else the answer is 400):
companyIds(list of company ids, up to 2,000)list(text: the name or id of a target list, to use its companies)company filters:
created,owners,exceptOwners,industries,openDeals,props
Where they go:
pipeline(text: the pipeline's name or id). Left out: the first lead pipeline.stageKey(text: the stage). Left out: the pipeline's first open stage.
curl -X POST https://api.alori.dev/v1/deals/from-companies \ -H "Authorization: Bearer YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{ "companyIds": ["k12fd8a0b3", "k12fd8a0b4", "k12fd8a0b5"], "pipeline": "Sales" }'It answers with how many deals it made, and how many companies were already in the pipeline:
{ "data": { "added": 2, "already": 1 } }If something is wrong, it writes nothing and answers with an error:
422
tooMany: more than 2,000 companies match.detailsgives thetotaland themax.422
filtersTooBroad: your filters are too loose to read in one go. Narrow them.404
pipelineNotFound,stageNotFoundorlistNotFound: check the name or id you sent.422
forbidden: the key's person isn't allowed to change deals.409
appNeedsUpdate: your app doesn't have this feature yet. See How do I upgrade my app to the newest Alori features?
If it doesn't work
No Add to pipeline button. Your app needs the Leads & deals tool, and your role must be allowed to change deals.
"1 company was already there." That company already has an open deal on this pipeline. Nothing was added for it.
Fewer deals than companies. Some were skipped: see "Which companies are skipped" above.
Related
Did this answer your question?