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

@fabienbibe/n8n-nodes-metricool-api

v1.0.0

Published

n8n community node for Metricool API integration

Readme

n8n-nodes-metricool-connector

Un connecteur n8n pour l'API Metricool qui permet l'intégration avec l'interface Inbox de Metricool.

Metricool Logo

Installation

Via npm (Recommandé pour n8n auto-hébergé)

npm install n8n-nodes-metricool-connector

Installation manuelle

  1. Téléchargez la dernière version depuis les releases
  2. Extrayez le package dans votre dossier ~/.n8n/custom/
  3. Redémarrez n8n

Configuration

Credentials Metricool API

Pour utiliser ce connecteur, vous aurez besoin de :

  1. User Token : Le code d'autorisation unique de votre utilisateur trouvé dans les paramètres de compte
  2. User ID : L'identifiant utilisateur de votre compte Metricool
  3. Blog ID : Le numéro d'identification de la marque (trouvé dans l'URL du navigateur)

Comment obtenir vos credentials

  1. Connectez-vous à votre compte Metricool
  2. Allez dans Paramètres du compte
  3. Trouvez votre User Token dans la section API
  4. Notez votre User ID
  5. Le Blog ID se trouve dans l'URL quand vous naviguez dans votre tableau de bord

Fonctionnalités

Ce connecteur prend en charge les opérations suivantes :

🗨️ Conversations

  • Récupérer plusieurs conversations : Obtenir une liste de conversations
  • Publier un message : Envoyer un message à une conversation
  • Vérifier les autorisations : Vérifier les autorisations pour les conversations
  • Récupérer une image : Récupérer une image depuis les conversations

📝 Notes

  • Récupérer plusieurs notes : Obtenir une liste de notes
  • Créer : Créer une nouvelle note
  • Mettre à jour : Modifier une note existante
  • Supprimer : Supprimer une note

💬 Commentaires de publications

  • Récupérer plusieurs commentaires : Obtenir une liste de commentaires de publications
  • Publier un commentaire : Ajouter un commentaire
  • Supprimer un commentaire : Supprimer un commentaire
  • Vérifier les autorisations : Vérifier les autorisations pour les commentaires

⭐ Avis

  • Publier une réponse : Répondre à un avis
  • Supprimer une réponse : Supprimer une réponse à un avis

📊 Statut

  • Changer le statut : Modifier le statut de la boîte de réception

Exemples d'utilisation

Récupérer des conversations

{
  "resource": "conversations",
  "operation": "getAll",
  "provider": "instagram"
}

Créer une note

{
  "resource": "notes",
  "operation": "create",
  "noteBody": {
    "content": "Nouvelle note de suivi client",
    "participantScreenNames": ["user1", "user2"],
    "participantAccountIds": ["123", "456"],
    "provider": "facebook"
  }
}

Publier un message

{
  "resource": "conversations",
  "operation": "postMessage",
  "messageBody": {
    "conversationId": "conv_123",
    "message": "Merci pour votre message !",
    "provider": "instagram"
  }
}

Développement

Prérequis

  • Node.js ≥ 18.10
  • pnpm ≥ 8.1

Installation des dépendances

pnpm install

Build

pnpm build

Développement en mode watch

pnpm dev

Linting et formatage

pnpm lint
pnpm format

Structure du projet

n8n-nodes-metricool-connector/
├── credentials/
│   └── MetricoolApi.credentials.ts
├── nodes/
│   └── Metricool/
│       ├── Metricool.node.ts
│       └── metricool-icon.svg
├── dist/                          # Fichiers compilés
├── package.json
├── tsconfig.json
└── README.md

API Endpoints supportés

Ce connecteur utilise l'API Metricool v2 :

  • GET /v2/inbox/conversations
  • POST /v2/inbox/conversations
  • GET /v2/inbox/conversations/authorizations
  • GET /v2/inbox/conversations/fetch-image
  • GET /v2/inbox/notes
  • POST /v2/inbox/notes
  • PUT /v2/inbox/notes/{id}
  • DELETE /v2/inbox/notes/{id}
  • GET /v2/inbox/post-comments
  • POST /v2/inbox/post-comments
  • DELETE /v2/inbox/post-comments
  • GET /v2/inbox/post-comments/authorizations
  • POST /v2/inbox/reviews/replies
  • DELETE /v2/inbox/reviews/replies
  • PUT /v2/inbox/status

Contribution

Les contributions sont les bienvenues ! Veuillez :

  1. Fork le projet
  2. Créer une branche pour votre fonctionnalité
  3. Committer vos changements
  4. Pousser vers la branche
  5. Créer une Pull Request

Licence

Ce projet est sous licence MIT. Voir le fichier LICENSE pour plus de détails.

Support

Si vous rencontrez des problèmes :

  1. Vérifiez que vos credentials Metricool sont corrects
  2. Consultez les issues GitHub
  3. Créez une nouvelle issue si nécessaire

Liens utiles


Développé avec ❤️ pour la communauté n8n