Deals
Use this page to retrieve a contact's deals, read a particular request, and understand deal creation and update settings. Use a For dialogs automation in a project with amoCRM connected.
Where to add a step
Open Automations (1) and the required workflow (2). On a phone, open the side menu first.
Click Add step (1) in the editor.
In the amoCRM group, select an action such as List contact deals (1). Other actions are in the same group and can be found by name.
List contact deals
Fill in Inputs (1):
- Contact ID — a specific number, or leave empty for the current Senler lead's contact. If no link exists yet, configure contact handling first.
- Deal state —
openfor open deals,closedfor closed deals, orallfor all deals. The default is open. - Deal limit — a number from 1 to 50.
In Step result, you can save the list from the Deals field. Connect Deals found and No deals to the required continuations. If a customer has several requests, clarify which one is needed: the first list item may not relate to the current conversation.
Get deal
Choose Get deal and enter a specific numeric Deal ID (1). In Step result, select the details to save: name, amount, pipeline, or stage.
The step has Found and Not found outputs. Use the record's data only on the Found path.
Numeric ID fields in the current editor are filled in manually. Saving an ID to a variable does not automatically insert it into another step. To select a deal based on the customer conversation, use an agent.
Create deal
Create deal uses a separate app form. Click Open step settings (1) to open it.
This form selects a default pipeline, stage, and assignee. Creating a deal also requires a contact ID and deal name. The current amoCRM form has no fields for entering them, so a new deal creation cannot yet be configured entirely through this screen. To create a request, use the Create deal agent tool.
Update deal
Update deal also has an Open step settings (1) button.
The embedded form sets the pipeline, stage, and assignee but does not let you select the deal ID to update. To update a request selected by the customer, use the Update deal agent tool. Retrieving a record and updating it are separate actions.
Get amoCRM configuration
This step returns available pipelines with stages and staff. In Step result (1), save the Pipelines and stages and Responsible users fields if needed for further processing. The step has no additional inputs.
Staff visibility depends on the user who connected amoCRM. Use the required stage's numeric ID in a stage change condition.
Save and test
Click Save (1) at the bottom of the settings and connect the step to the workflow. Handle both outcomes for deal retrieval and deal lists.
Click Testing (1). In test mode, Get deal returns Not found and List contact deals returns an empty list. Supply an explicit contact ID when testing the list this way. This checks the workflow; verify actual CRM records through a normal run with agreed test data.
After checking, click Publish (2), confirm, and enable the workflow through the status button if it is disabled.