Connections
Integrating external services with your Automation platform
What are Connections?
Connections are integrations to external services.
With connections, you can retrieve data from and write data to external services, like Salesforce, Google Sheets, Slack, and more. So if you want to write an automation that gets a list of new customers from Salesforce and then sends your sales team an update in Slack showing customers who signed up today with ARR over $40k, this is where you start.
API Connections
API connections are your bread and butter. You can use them to get data from any service that exposes an API. Most modern services do and we’ve got a growing list of connections that work out of the box. On the Connections page, click the plus sign, authenticate, and then you’re off to the races.
If we don’t already have an API connection that you want, send a note to support@pinkfish.ai and we’ll get one going for you. Coming soon, you’ll be able to create your own API connections.
Browser Connections
Ok, now it gets interesting. If the service you want to retrieve data from or write data to doesn’t expose an API, you can use a browser connection. When you create a browser connection, Pinkfish will open a browser window to the login page of your selected service. You will then authenticate, solve any challenges (like captchas, one time passwords, or 2fa), and then Pinkfish will store your logged in session details. Note that Pinkfish does not store your login credentials, only your session details.
Once saved, you can use that saved session in tandem with Pinkfish’s browser automation skills. Your saved browser connections will be avialable in your slash command menu list (just like your API connections).
The two skills that support browser connections are /scraper
and /browser session
.
Scraper
Scraper allows you to navigate to a given page and to scrape the contents. It supports LLM Vision scraping, so you can get really specific about what data you want to bring back and in what format.
Browser Session
Browser session is a more full featured browser automation skill that allows you to do things like fill out forms, click buttons, download files, and more.
Example prompt
Here’s an example showing use of a browser connection to scrape a web page.
In this example, I selected my “Babylon” browser connection and then used the /scraper
skill to scrape my private profile page, which I can only access as a logged in user.
Session expiry & Re-authentication
Browser sessions work the same as if you’d logged in to the service yourself. They will expire whenever the service’s session expires. Sometimes it’s a few hours, sometimes its a month. If the service offers a “remember me” option, you can use that to extend the session timeout. You’ll need to monitor your browser automations and re-authenticate as needed.
To re-authenticate, open the browser connection and click the “Update Connection” button. Re-login and you’ll be good to go.