npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-agt-integration

v0.1.0

Published

Custom integration node for n8n workflows

Downloads

250

Readme

n8n-nodes-alicia-gt

Community node para n8n que permite gerenciar campanhas, conjuntos de anuncios e anuncios na Meta (Facebook/Instagram Ads).

Recursos

Campaign (Campanha)

  • Criar: Cria nova campanha com objetivos pre-mapeados
  • Atualizar: Atualiza nome, status, orcamento
  • Obter: Retorna dados de uma campanha
  • Listar: Lista todas campanhas da conta
  • Deletar: Remove campanha
  • Duplicar: Shallow (so campanha) ou Deep (campanha + adsets + ads)

AdSet (Conjunto de Anuncios)

  • Criar: Cria conjunto com targeting, orcamento, otimizacao
  • Atualizar: Atualiza configuracoes do conjunto
  • Obter: Retorna dados de um conjunto
  • Listar: Lista conjuntos de uma campanha
  • Deletar: Remove conjunto
  • Duplicar: Shallow (so conjunto) ou Deep (conjunto + ads)

Ad (Anuncio)

  • Criar: Cria anuncio vinculado a criativo
  • Atualizar: Atualiza nome, status, criativo
  • Obter: Retorna dados de um anuncio
  • Listar: Lista anuncios de um conjunto
  • Deletar: Remove anuncio
  • Duplicar: Copia anuncio existente

AdCreative (Criativo)

  • Criar: Cria criativo (post existente, imagem, video, carrossel)
  • Obter: Retorna dados de um criativo
  • Listar: Lista criativos da conta

Midia

  • Upload Imagem: Envia imagem e retorna image_hash
  • Upload Video (Simples): Envia video via URL e retorna video_id
  • Upload Video Completo: Upload + aguarda processamento + retorna thumbnail

Insights

  • Relatório Completo: Extração em massa com todos os parâmetros avançados (level, time_increment, action_types, etc)
  • Obter por ID: Metricas de objeto específico (campanha/conjunto/anúncio)

Audience (Publico)

  • Criar: Cria publico personalizado com regra JSON
  • Listar Salvos: Publicos salvos da conta
  • Listar Personalizados: Custom audiences
  • Buscar Interesses: Pesquisa de interesses disponiveis
  • Buscar Localizacao: Pesquisa de localizacoes

Objetivos de Campanha Disponiveis

| Nome | Valor API | |------|-----------| | Reconhecimento | OUTCOME_AWARENESS | | Trafego Site | OUTCOME_TRAFFIC | | Impulsionar Perfil | OUTCOME_TRAFFIC | | Engajamento Post | OUTCOME_ENGAGEMENT | | Visualizacao de Video | OUTCOME_ENGAGEMENT | | WhatsApp | OUTCOME_ENGAGEMENT | | Leads Site | OUTCOME_LEADS | | Formulario Nativo | OUTCOME_LEADS | | Vendas | OUTCOME_SALES |

Instalacao

Instalacao local para desenvolvimento

  1. Clone ou copie este projeto
  2. Execute npm install
  3. Execute npm run build
  4. Link simbolico:
npm link
cd ~/.n8n/custom
npm link n8n-nodes-alicia-gt

Iniciar n8n

N8N_CUSTOM_EXTENSIONS="$HOME/.n8n/custom" n8n start

Configuracao de Credenciais

  1. No n8n, va em Credentials > New
  2. Procure por Alicia GT API
  3. Preencha:
    • Access Token: Token de acesso da Meta API
    • Ad Account ID: ID da conta de anuncios (formato: act_123456789)

Como obter o Access Token

  1. Acesse Meta for Developers
  2. Crie um App tipo Business
  3. Adicione o produto Marketing API
  4. Gere um token com permissoes:
    • ads_management
    • ads_read
    • business_management

Regras de Negocio

  • Budget: Inserir em Reais, convertido automaticamente para centavos
  • Datas: Formato ISO 8601
  • Status inicial: Recomendado usar PAUSED
  • Duplicacao Deep: Copia toda a estrutura (campanha + adsets + ads)

Versao da API

Este node usa a API v23.0 do Facebook/Meta.

Licenca

MIT