{
  "name": "Publicar el blog en redes con IA",
  "description": "Cada artículo nuevo genera publicaciones adaptadas a cada red.",
  "tags": [
    "Marketing"
  ],
  "pieces": [
    "@flooows/component-wordpress",
    "@flooows/component-openai",
    "@flooows/component-linkedin"
  ],
  "template": {
    "displayName": "Publicar el blog en redes con IA",
    "trigger": {
      "name": "trigger",
      "type": "PIECE_TRIGGER",
      "valid": false,
      "displayName": "Nuevo artículo publicado",
      "settings": {
        "pieceName": "@flooows/component-wordpress",
        "pieceVersion": "~0.9.1",
        "pieceType": "OFFICIAL",
        "packageType": "REGISTRY",
        "triggerName": "new_post",
        "input": {},
        "inputUiInfo": {},
        "propertySettings": {}
      },
      "nextAction": {
        "name": "step_1",
        "type": "PIECE",
        "valid": false,
        "skip": false,
        "displayName": "Redactar la publicación para LinkedIn",
        "settings": {
          "pieceName": "@flooows/component-openai",
          "pieceVersion": "~0.13.2",
          "pieceType": "OFFICIAL",
          "packageType": "REGISTRY",
          "actionName": "ask_chatgpt",
          "input": {
            "model": "gpt-4o-mini",
            "maxTokens": 800,
            "prompt": "Escribe una publicación de LinkedIn (máx. 900 caracteres, tono profesional y cercano) para este artículo:\n\n{{trigger.title}}\n{{trigger.excerpt}}"
          },
          "inputUiInfo": {},
          "propertySettings": {},
          "errorHandlingOptions": {
            "retryOnFailure": {
              "value": true
            },
            "continueOnFailure": {
              "value": false
            }
          }
        },
        "nextAction": {
          "name": "step_2",
          "type": "PIECE",
          "valid": false,
          "skip": false,
          "displayName": "Publicarla en la página de empresa",
          "settings": {
            "pieceName": "@flooows/component-linkedin",
            "pieceVersion": "~0.6.2",
            "pieceType": "OFFICIAL",
            "packageType": "REGISTRY",
            "actionName": "create_company_update",
            "input": {
              "text": "{{step_1.choices[0].message.content}}",
              "link": "{{trigger.link}}"
            },
            "inputUiInfo": {},
            "propertySettings": {},
            "errorHandlingOptions": {
              "retryOnFailure": {
                "value": true
              },
              "continueOnFailure": {
                "value": false
              }
            }
          }
        }
      }
    },
    "valid": false,
    "schemaVersion": "1"
  },
  "blogUrl": "https://flooows.com/plantillas/publicar-blog-redes-ia",
  "metadata": {
    "publisher": "flooows",
    "lang": "es",
    "setupMinutes": 5,
    "creditsPerRun": 3
  }
}