Integration with pipefy

What are you trying to achieve?

I need to take the data that was received through a Webhooks and fill this data in a form for a connection with a CRM.

Steps taken so far

I have already managed to obtain the data through webhooks and have already managed to connect the other CRM, I just can’t transfer the data from one to the other.

Screenshots: scenario setup, module configuration, errors



DADOS_WEBHOOKS.png

You need to map the values into the fields by clicking on the values you want to use in the field.

Hi @ROBERTO1
Since the values are in an array, you’ll need to use the get and map functions. If you could share the output bundle from the webhook, we can provide further assistance.

Please refer to below help documents for use of get() and map()

https://www.make.com/en/help/functions/general-functions#get–object-or-array–path-

https://www.make.com/en/help/functions/array-functions#map-complex-array–key–key-for-filtering—possible-values-for-filtering-separated-by-a-comma–

How to Share Input/Output bundles

To obtain the input and output bundles for each module:

  1. Run the scenario or retrieve it from the History tab.
  2. For each module, click the white speech bubble located at the top-right corner.
  3. Select “Download input/output bundles” from the dropdown menu.

This will allow you to download the necessary data for further analysis and sharing.

Method 1: Attach a Text File

  1. Copy the output data.
  2. Paste the data into a text file.
  3. Attach the text file to your ticket.

Method 2: Direct Sharing

  1. Use the direct sharing option available in the reply section. Please refer to the image below for guidance.

Regards,
Msquare Automation - Gold Partner of Make
@Msquare_Automation

"leads": {
            "responsible": [
                {
                    "id": "7638906",
                    "name": "",
                    "status_id": "73384827",
                    "old_status_id": "73311571",
                    "price": "0",
                    "responsible_user_id": "11879235",
                    "last_modified": "1725448781",
                    "modified_user_id": "11635003",
                    "created_user_id": "0",
                    "date_create": "1725384498",
                    "pipeline_id": "9252903",
                    "account_id": "33207827",
                    "custom_fields": [
                        {
                            "id": "880040",
                            "name": "Nome da empresa",
                            "values": [
                                {
                                    "value": "Beto ltda"
                                }
                            ]
                        },
                        {
                            "id": "880134",
                            "name": "E-mail",
                            "values": [
                                {
                                    "value": "roberto@hotmail.com"
                                }
                            ]
                        },
                        {
                            "id": "880122",
                            "name": "CNPJ",
                            "values": [
                                {
                                    "value": "47960.950000121"
                                }
                            ]
                        },
                        {
                            "id": "880132",
                            "name": "CPF Repres",
                            "values": [
                                {
                                    "value": {
                                        "name": "11100066607"
                                    }
                                }
                            ]
                        },
                        {
                            "id": "880126",
                            "name": "Representante",
                            "values": [
                                {
                                    "value": "Beto"
                                }
                            ]
                        },
                        {
                            "id": "879452",
                            "name": "Conseguiu contato",
                            "values": [
                                {
                                    "value": "Sim",
                                    "enum": "635926"
                                }
                            ]
                        },
                        {
                            "id": "879454",
                            "name": "Forma de Contato",
                            "values": [
                                {
                                    "value": "Whatapp",
                                    "enum": "635934"
                                }
                            ]
                        },
                        {
                            "id": "880124",
                            "name": "Quantidade",
                            "values": [
                                {
                                    "value": "20"
                                }
                            ]
                        },
                        {
                            "id": "880136",
                            "name": "Nome do contato",
                            "values": [
                                {
                                    "value": "Roberto Beto"
                                }
                            ]
                        },
                        {
                            "id": "880140",
                            "name": "Número de funcionários da empresa",
                            "values": [
                                {
                                    "value": "20"
                                }
                            ]
                        },
                        {
                            "id": "880264",
                            "name": "Telefone do contato",
                            "values": [
                                {
                                    "value": "37999554483"
                                }
                            ]
                        }
                    ],
                    "old_responsible_user_id": "11635003",
                    "created_at": "1725384498",
                    "updated_at": "1725448781"
                }
            ]
        }
    }
][quote="ROBERTO1, post:1, topic:53965, full:true"]
### What are you trying to achieve?
I need to take the data that was received through a Webhooks and fill this data in a form for a connection with a CRM.

### Steps taken so far
I have already managed to obtain the data through webhooks and have already managed to connect the other CRM, I just can't transfer the data from one to the other.

### Screenshots: scenario setup, module configuration, errors 
![dados_pipe.png|794x346](upload://8cGJceQQwdbCQojkhEnMPQfooh5.png)
![dados_pipe.png|794x346](upload://8cGJceQQwdbCQojkhEnMPQfooh5.png)
![DADOS_WEBHOOKS.png|308x447](upload://8ndrdud66fqcS7Tcy58oQcMYtco.png)
![integração.png|974x371](upload://94s28NPW3lAAc9IUNaTDRsraC6x.png)
[/quote]


follow the code as requested, thank you in advance for your help.