Connect hiCreator to Google Sheets, CRM and Slack

Move creator lists into Google Sheets, HubSpot, Salesforce and Slack with Excel export, share links or the API.

On this page

You can get creator data from hiCreator into other tools in three ways: export a List to Excel, share a List with a link, or call the API with your API key. This guide shows how to use them with Google Sheets, a CRM such as HubSpot or Salesforce, and Slack.

Three ways to move creator data

  1. Excel export: open a List and export the creators saved today, in the last 7 days or in the last 30 days. Export is free and you don’t need to write code.
  2. Share link: create a link to a List that only your Workspace members can open, or that anyone with the link can open. People who are not signed in are asked to sign in before they can open a Workspace-only link. A public link shows the list without signing in, including creators’ contact emails and the sharer’s account email. Sharing is free.
  3. API: use an API key to find creators by describing who you want, look up emails and pull creator data, then write the results into your own sheet, CRM or database. With the same key you can also connect the hiCreator MCP and export Lists. The API requires a paid Workspace and is billed in credits.

To create an API key, open hiLab → API & Skill → API Key Management and click New key. Endpoints, parameters and pricing are in the API documentation.

Google Sheets

Import the exported Excel file into Google Sheets

  1. Add the creators you picked to a List.
  2. Open the List and export to Excel.
  3. In Google Sheets, go to File → Import and upload the file.

Write to a sheet automatically with Apps Script

If you search with the same criteria every day or week, this script calls the API and appends each search’s results to the end of the “Creators” sheet. It does not remove creators already in the sheet.

  1. Create an API key (see above).
  2. In Google Sheets, open Extensions → Apps Script and paste in the script (download it or expand the code below).
  3. In Project Settings → Script properties, add HICREATOR_API_KEY with your key. Do not paste the key into the code. Anyone who can edit this spreadsheet can also open the script and see this key, so give edit access only to people who may use it.
  4. Edit the platform, description and filters in body (see AI search in the API documentation). For X, set platform to twitter.
  5. Select searchCreatorsToSheet at the top and click Run. The first run asks you to authorize access to the sheet and to external URLs.
  6. To run it on a schedule, open Triggers → Add trigger, choose searchCreatorsToSheet, set the event source to Time-driven, pick how often it runs and save. Set up one trigger per spreadsheet: every trigger runs its own search and uses credits.

Each run uses credits for every returned creator: 0.5 on Instagram, YouTube and TikTok, 2 on X. The email filter and the TikTok cart filter cost extra; see the API documentation. Before each search, credits for the full limit are reserved and the unused part is refunded, so your balance must cover the whole limit (40 creators in the example: 20 credits, or 80 on X).

Download the script (hicreator-google-sheets.gs)

Show the code
// hiCreator → Google Sheets (+ optional Slack). Paste into Extensions → Apps Script.
const API_BASE = 'https://api.hicreator.ai/openapi/v1';

// Write text as plain text (a name starting with "=" would otherwise become a formula); keep numbers as numbers.
function cell(v) {
  if (v === null || v === undefined) return '';
  if (typeof v === 'string' && /^[=+\-@]/.test(v)) return "'" + v;
  return v;
}

function searchCreatorsToSheet() {
  const props = PropertiesService.getScriptProperties();
  const apiKey = props.getProperty('HICREATOR_API_KEY');
  if (!apiKey) throw new Error('Set HICREATOR_API_KEY in Project Settings → Script properties');

  // platform: instagram, youtube, tiktok or twitter (for X)
  const body = {
    platform: 'instagram',
    query: 'Home cooking creators sharing simple, healthy recipes',
    limit: 40,
    filters: { regions: ['US'], languages: ['en'], minFollowers: 10000, maxFollowers: 500000 }
  };

  const HEADER = ['Platform', 'Username', 'Name', 'Followers', 'Region', 'Median plays / views',
    'Median engagement rate', 'Email', 'Profile URL'];

  // Take the lock before the paid search, so a manual run and a scheduled run never overlap.
  // If another run is in progress, skip this one right away instead of spending credits twice.
  const lock = LockService.getDocumentLock();
  if (!lock.tryLock(0)) {
    console.warn('Another run is in progress; skipped this run.');
    return;
  }
  const ss = SpreadsheetApp.getActiveSpreadsheet();
  let rows;
  try {
    // Check the sheet before searching, so credits are never spent on rows that cannot be written
    const sheet = ss.getSheetByName('Creators') || ss.insertSheet('Creators');
    if (sheet.getLastRow() === 0) {
      sheet.appendRow(HEADER);
    } else if (sheet.getRange(1, 1, 1, HEADER.length).getValues()[0].join('|') !== HEADER.join('|')) {
      throw new Error('The first row of the "Creators" sheet must be: ' + HEADER.join(', ') +
        '. Rename that sheet or clear it, then run again.');
    }
    // Make sure the new rows can be written before spending credits
    const firstNewRow = sheet.getLastRow() + 1;
    const end = firstNewRow + body.limit - 1;
    const blocked = sheet.getProtections(SpreadsheetApp.ProtectionType.SHEET).some(p => !p.canEdit()) ||
      sheet.getProtections(SpreadsheetApp.ProtectionType.RANGE).some(p => {
        const r = p.getRange();
        return !p.canEdit() && r.getLastRow() >= firstNewRow && r.getRow() <= end;
      });
    if (blocked) throw new Error('Some cells in the "Creators" sheet are protected. Remove the protection, then run again.');
    // Google Sheets allows up to 20 million cells per spreadsheet
    const cells = ss.getSheets().reduce((n, s) => n + s.getMaxRows() * s.getMaxColumns(), 0);
    const newRows = Math.max(0, end - sheet.getMaxRows());
    if (cells + newRows * sheet.getMaxColumns() > 20000000) {
      throw new Error('This spreadsheet is close to the Google Sheets cell limit. Move older rows to another file, then run again.');
    }

    const res = UrlFetchApp.fetch(API_BASE + '/creators/ai-search', {
      method: 'post',
      contentType: 'application/json',
      headers: { Authorization: 'Bearer ' + apiKey },
      payload: JSON.stringify(body),
      muteHttpExceptions: true
    });
    const code = res.getResponseCode();
    if (code < 200 || code >= 300) throw new Error('hiCreator API ' + code + ': ' + res.getContentText());

    const items = JSON.parse(res.getContentText()).data.items || [];
    // X returns medianViewCount instead of medianPlayCount
    rows = items.map(c => [c.platform, c.username, c.fullName, c.followerCount, c.region,
      c.medianPlayCount ?? c.medianViewCount, c.medianEngagementRate, c.email, c.profileUrl].map(cell));
    if (!rows.length) return;

    try {
      // Find the last row again: someone may have typed into the sheet during the search
      const start = sheet.getLastRow() + 1;
      const needed = start + rows.length - 1 - sheet.getMaxRows();
      if (needed > 0) sheet.insertRowsAfter(sheet.getMaxRows(), needed);
      sheet.getRange(start, 1, rows.length, HEADER.length).setValues(rows);
      SpreadsheetApp.flush();
    } catch (e) {
      // The search is already paid for: keep the results in a new sheet instead of losing them
      const backup = ss.insertSheet('Creators backup ' + Date.now());
      backup.getRange(1, 1, rows.length + 1, HEADER.length).setValues([HEADER].concat(rows));
      throw new Error('Could not write to the "Creators" sheet (' + e.message + '). The results were saved to "' +
        backup.getName() + '".');
    }
  } finally {
    lock.releaseLock();
  }

  const slackUrl = props.getProperty('SLACK_WEBHOOK_URL');
  if (slackUrl) {
    try {
      UrlFetchApp.fetch(slackUrl, {
        method: 'post',
        contentType: 'application/json',
        payload: JSON.stringify({ text: 'hiCreator: added ' + rows.length + ' rows to ' + ss.getUrl() })
      });
    } catch (e) {
      // The rows are already saved; a failed Slack message should not trigger a new paid search
      console.warn('Slack notification failed: ' + e);
    }
  }
}

CRM: HubSpot, Salesforce and others

Import the exported Excel file into your CRM

  1. Export the List. Before importing, you can rename the columns in Excel to match the field names in your CRM (for example Email), which makes mapping easier.
  2. HubSpot: import the file as contacts, then check which contact property each column maps to and match any that are left. HubSpot accepts .xlsx, .xls and .csv files with one sheet per file. To create contacts, include an Email column. Some exported creators have no email; filter those rows out or look up their emails before importing.
  3. Salesforce: the Data Import Wizard reads CSV files. Save the Excel file as CSV, search for Data Import Wizard in Setup, launch the wizard, upload the file and check the field mappings. Salesforce requires a Last Name for each contact; map the creator’s name or handle to it.

Write to your CRM through the API

Call the hiCreator API from your own backend or from tools such as n8n or Make that can send HTTP requests with a Bearer key, then write the returned fields into your CRM. n8n has built-in HubSpot and Salesforce nodes: connect your account, pass only creators that have an email, and map the Email field. For Salesforce, also map Last Name (the creator’s name or handle). If your Salesforce edition does not include API access, use the CSV import above.

Slack

  • Share a link: set a List to Workspace-only and post the link in a Slack channel. Teammates signed in to the same hiCreator Workspace can open it.
  • Automatic alerts: in your Slack app settings, open Incoming Webhooks, turn on Activate Incoming Webhooks, click Add New Webhook to Workspace, pick a channel, click Allow and copy the URL. Save it as the SLACK_WEBHOOK_URL script property in the Apps Script above. Each time the script adds creators to the sheet, it posts a message to that channel with the number of rows added and a link to the sheet. It posts nothing when no creators are found. To post to a private channel, join that channel before adding the webhook. If your Slack workspace requires app approval, an admin needs to approve the app first. If a message fails to send, the reason appears in the script’s Executions log.
  • With n8n or Make: add a Slack step at the end of the workflow to post the results to a channel.

Common questions

Can I connect hiCreator to a CRM such as HubSpot or Salesforce?

Yes. Import the exported Excel file into your CRM, or write to it through the API. See the CRM section above.

Are export and sharing free?

Yes. Saving to Lists, sharing and Excel export are free. API calls for search, email lookup and creator data use credits.

Can I export a List with my API key?

Yes. Connect the hiCreator MCP (https://mcp.hicreator.ai/mcp) to your AI assistant with the same API key, then ask something like “Export the creators saved to my [List name] List in the last 7 days to Excel, with only handle, followers and email.” You get a download link when the file is ready. The link expires after a few minutes; ask your assistant to fetch it again if it does. Setup steps are in Connect hiCreator to your AI workflow.