Gumloop Integration

Learn how to connect the Foreplay API to be used in a Gumloop workflow.

Written By Zach Murray

Last updated 6 months ago

Gumloop is the AI automation platform built for everyone. Everything you need from data, apps, and AI in an intuitive drag and drop interface to automate your workflows.

How to create a node with Foreplay in Gumloop

To connect Foreplay API to Gumloop, you'll need to use the “API” node in Gumloop. This node allows you to leverage the Foreplay API directly in Gumloop workflows.

A. How to setup the Foreplay API node in Gumloop

  1. Select “Add a node”

  2. Add the “Call API” node under “Advanced”

  3. Add the authorization header

    1. Add “Authorization” in the “Key” field

    2. Copy your API key from foreplay:

      https://app.foreplay.co/api-overview

    3. Add your API key to the “Value” field

  4. Add the base URL to the “URL” field: https://public.api.foreplay.co

    You can find the base URL in the public API docs: https://public.api.foreplay.co/doc

B. How to add a Foreplay API endpoint in Gumloop

  1. Go to the Foreplay API docs: https://public.api.foreplay.co/doc

  2. Copy the endpoint you want to use

  3. Add the endpoint to end of the base URL

    1. For example: https://public.api.foreplay.co/doc/api/brand/getBrandsByDomain

C. How to add a query parameters in Gumloop

  1. Go to the Foreplay API docs: https://public.api.foreplay.co/doc

  2. Copy the query parameter you want to add

  3. Add the query parameter to the end of your URL

    1. For example: https://public.api.foreplay.co/doc/api/brand/getBrandsByDomain?brand_ids=12345678

  4. OR drag and drop the dynamic variable from a previous output in your workflow