π Account Names to Facility Match using PeeringDB
This playbook uses Google Search, PeeringDB and TableOps
Playbook
1. Search Google to get the correct organization names of the accounts
Search @1.AccountName on site peeringdb.com/org. If "organic" field has more than one item, then look at the first result. If the first result's title has " - " then return the text before " - ". Otherwise return empty. Remove rows where @2.search_account_on_peeringdb is empty. Changing column name @2.search_account_on_peeringdb to corrected_name and return the table.2. Get organization id of the accounts
Get organization whose name contains @3.corrected_name. Sleep 3s between requests. Return a table with @4.AccountName , @4.corrected_name and org id with 1 org id per row. 3. Get network id of the accounts
4. Get facilities of the networks
5. Match the facility name with some facilities
Notes
Last updated