How will a scraper that runs in the background function when I have a trigger that the autobook should run when a new email is received?
What I want to create:
When new email is received (Matches with a particular subject)
Generate table from body of email
Use the linkedin company URL page (one of the columbs from generate table action), perform a background scrape.
Add information from mail, certain columns from table, certain data from linkedin company page to a new notion page.
I’m not sure of what the expected behaviour would be for the background scrape part [Where would it be executed?, If it will happen on my personal computer, what happens in the case when it is offline while this autobook runs]
Also, I can’t add the attachment from gmail to my Notion page. When I try to map the fields, the field that is an attachment on Notion is not recognized correctly.
Since you are intending to scrape linkedIn, the scraper will have to run locally on your computer. In case your computer is not available when a new email is received, an autobook with such a setup will run as soon as you go online.
Regarding the attachments, I think integration only allows mapping to a file link. You can try saving an email attachment as a drive file and then mapping it to the attachment field of Notion:
If you have an autobook with a local scraper triggered by a new email, it will only run all actions subsequently when your browser is online. If you are offline when a new email is received, that record will be processed later, as soon as your computer goes online.