How to extract specific outputs by name

Hello i have five outputs in the body, and you want to extract only the outputs whose names contain one of the following: D|ID_front|ID_back|Passport|Residence permit|Residence permit_front|Residence permit_back|Driving license_front|Driving license_back|Driving license|Address proof|passport|id_card_front|id_card_back. How can you achieve this in Make (formerly Integromat)
Capture d’écran du 2024-09-05 17-29-41

Welcome to the Make community!

Please provide the output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.

A. Upload as Text File

Save each bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

B. Insert as Formatted Code Block

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.
These are the two ways to format text so that it won’t be modified by the forum:

  • Method 1: Type code block manually

    Add three backticks ``` before and after the content/bundle, like this:

    ```
    content goes here
    ```

  • Method 2. Highlight and click the format button in the editor

Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

This will allow others to better assist you. Thanks!

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

Hi @farah
You can apply a filter like this after iterating through the array:


Best regards,

Msquare Automation
Gold Partner of Make
@Msquare_Automation

In the body, there are 5 outputs, but after this module in the iterator, I find only one body. I would like to extract all the bodies in the parent module that contain only D, ID_front, ID_back, Passport, Residence permit, Residence permit_front, Residence permit_back, Driving license_front, Driving license_back, Driving license, Address proof, passport, id_card_front, and id_card_back.
([
{
“body”: [
{
“id”: 26427,
“create_uid”: {
“id”: 27295,
“value”: “B”
},
“partner_id”: {
“id”: 31472,
“value”: “B”
},
“company_id”: {
“id”: 2,
“value”: “D”
},
“state”: “validated”,
“name”: “national_identity_card_front”
},
{
“id”: 26374,
“create_uid”: {
“id”: 5048,
“value”: “P”
},
“partner_id”: {
“id”: 31472,
“value”: “B”
},
“company_id”: {
“id”: 1,
“value”: “”
},
“state”: “validated”,
“name”: “national_identity_card_back”
},
{
“id”: 26373,
“create_uid”: {
“id”: 27295,
“value”: “B”
},
“partner_id”: {
“id”: 31472,
“value”: “B”
},
“company_id”: {
“id”: 2,
“value”: “”
},
“state”: “validated”,
“name”: “national_identity_card_front”
}
],
“headers”: {
“date”: “Thu, 05 Sep 2024 21:45:19 GMT”,
“content-type”: “text/xml; charset=utf-8”,
“content-length”: “2469”,
“connection”: “close”,
“server”: “Odoo.sh”,
“x-content-type-options”: “nosniff”
},
“statusCode”: 200
}
]
@Msquare_Automation

Hi @farah
Make sure you select “contains (case insensitive)” in the filter and all spelling is correct as it will not take if there is any extra space or character .
image

Best regards,

Msquare Automation
Gold Partner of Make
@Msquare_Automation