Description Usage Arguments Value References Examples
View source: R/AmoIncomingLeads.R
Function to get incoming leads.
1 2 3 4 5 6 7 8 9 10 11 |
email |
|
apikey |
Your api key from settings in interface |
domain |
Your domain in AmoCRM (xxx in xxx.amocrm.ru) |
auth_list |
List with auth data, you can build from AmoAuthList |
limit |
Batch limit, sometimes AmoCRM's API doesn't work properly, you can reduce the value and have a chance to load your data |
categories |
Filter. Categories. Vector or single value of |
order_by_key |
Filter. Key of ordering. For example |
order_by_value |
Filter. |
pipeline_id |
Filter. You can pass single id and get imcoming leads only from this pipeline. You can get ids from AmoPipelinesStatuses(). |
Dataframe in output.
Please READ this: Function documentation in Russian on GitHub
Also nice to read: AmoCRM official documentation
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# get all
incleads <- AmoIncomingLeads(auth_list = auth_list)
# filtered
incleads <- AmoIncomingLeads(auth_list = auth_list,
categories = c('sip','mail'),
order_by_key = 'created_at',
order_by_value = 'desc')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.