Help

Airtable Universe

Topic Labels: Extensions
1274 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Stephen_Suen
Community Manager
Community Manager

To capture structured data from Airtable Universe, you can use the following clip action recipe:

{
    "schemaVersion": 3,
    "fieldMappings": [
        {
            "fieldName": "Name",
            "fieldType": "singleLineText",
            "defaultValue": {
                "type": "cssSelector",
                "opts": {
                    "cssSelector": "h1"
                }
            }
        },
        {
            "fieldName": "Cover image",
            "fieldType": "multipleAttachments",
            "defaultValue": {
                "type": "cssSelector",
                "opts": {
                    "cssSelector": ".background-cover"
                }
            }
        },
        {
            "fieldName": "URL",
            "fieldType": "url",
            "defaultValue": {
                "type": "pageUrl",
                "opts": null
            }
        },
        {
            "fieldName": "Description",
            "fieldType": "multilineText",
            "defaultValue": {
                "type": "cssSelector",
                "opts": {
                    "cssSelector": "h1 + div + a + div"
                }
            }
        },
        {
            "fieldName": "Tags",
            "fieldType": "multilineText",
            "defaultValue": {
                "type": "cssSelector",
                "opts": {
                    "cssSelector": "h1 + div"
                }
            }
        },
        {
            "fieldName": "Author name",
            "fieldType": "singleLineText",
            "defaultValue": {
                "type": "cssSelector",
                "opts": {
                    "cssSelector": "h2"
                }
            }
        },
        {
            "fieldName": "Author bio",
            "fieldType": "multilineText",
            "defaultValue": {
                "type": "cssSelector",
                "opts": {
                    "cssSelector": ".max-width-2.break-word"
                }
            }
        }
    ]
}

Happy clipping!

0 Replies 0