Fill 匹配结果 (match color) and 书籍链接 (Amazon detail link) for books in a Feishu Bitable by querying Amazon UK/US with ISBN.
Use feishu_bitable_get_meta on the Feishu wiki/base URL to get app_token and table_id.
Use feishu_bitable_list_fields to find the field IDs. Expected field names:
ISBN → field_id (e.g. fldbjxXubv)Title → field_id (e.g. fld8AkZOXn)Author → field_id (e.g. fldEVOXS5u)匹配结果 → field_id (e.g. fldrgtxF6l)书籍链接 → field_id (e.g. fldxZrhJeG)Use feishu_bitable_list_records with page_size=100. Filter to records where 匹配结果 is empty. Process in batches.
Use Chrome browser relay ( profile: "chrome-relay"):
Step A: Amazon UK search
URL: https://www.amazon.co.uk/s?k={ISBN}
Step B: Check results
https://www.amazon.com/s?k={ISBN}🔴 未匹配 → update Bitable → stop for this ISBNStep C: Get first result info
Take the first search result (usually div[data-cy="title-recipe"]). Extract:
div[data-cy="title-recipe"] or h2 a spanby text or a link)Compare Amazon result with Excel Title and Author:
Common causes of yellow:
Execute in the browser tab:
javascript
() => {
const el = document.querySelector('div[data-cy="title-recipe"] a');
return el ? el.href : null;
}
Strip query parameters — keep only the clean path:
text
# FROM: https://www.amazon.co.uk/Art-Edible-Flowers-.../dp/B07BQD9D5N?ref=...&dib=...
# TO: https://www.amazon.co.uk/Art-Edible-Flowers-.../dp/B07BQD9D5N
Use feishu_bitable_update_record:
json
{
"匹配结果": "完全一致",
"书籍链接": "https://www.amazon.co.uk/.../dp/ASIN"
}
Fieldfield_idISBNfldbjxXubvTitlefld8AkZOXnAuthorfldEVOXS5u匹配结果fldrgtxF6l书籍链接fldxZrhJeG
These are stable for the specific table
tblskx3DEQkwhc9r. Always verify withfeishu_bitable_list_fieldsif unsure.
For large tables (2000+ records):
feishu_bitable_list_records with page_token for pagination978-0857834768 → 9780857834768).com before marking as unmatched