Cross-Provider Workflow

Meta User Feed to Notion Log and Slack Notify

Version 1.0.0

Pull a Meta user feed, archive it to Notion, then notify Slack.

1 workflow 3 source APIs 3 providers
View Spec View on GitHub ArazzoWorkflowsCross-Provider

Providers Orchestrated

meta notion slack

Workflows

meta-feed-to-notion-and-slack
Get a Meta user feed, log to Notion, then notify Slack.
Fetches a Meta user's feed, records a summary page in Notion, then posts a Slack message confirming the archive with a link to the Notion page.
3 steps inputs: notionDatabaseId, slackChannel, userId outputs: messageTs, pageId
1
get-feed
$sourceDescriptions.metaApi.getUserFeed
Retrieve the Meta user's feed via the Graph API.
2
log-to-notion
$sourceDescriptions.notionApi.createPage
Archive a summary of the feed as a Notion page.
3
notify-slack
$sourceDescriptions.slackChatApi.postChatPostmessage
Notify Slack that the feed was archived to Notion.

Source API Descriptions

Arazzo Workflow Specification

soc-meta-user-feed-to-notion-log-slack-notify-workflow.yml Raw ↑
arazzo: 1.0.1
info:
  title: Meta User Feed to Notion Log and Slack Notify
  summary: Pull a Meta user feed, archive it to Notion, then notify Slack.
  description: >-
    A social listening workflow that retrieves a Meta user's feed via the Graph
    API, archives a summary of the feed as a Notion page, and posts a Slack
    notification that new content was captured. Demonstrates orchestrating a
    social platform, a knowledge base, and a messaging provider in one Arazzo
    workflow.
  version: 1.0.0
sourceDescriptions:
  - name: metaApi
    url: https://raw.githubusercontent.com/api-evangelist/meta/refs/heads/main/openapi/meta-openapi.yml
    type: openapi
  - name: notionApi
    url: https://raw.githubusercontent.com/api-evangelist/notion/refs/heads/main/openapi/notion-openapi.yml
    type: openapi
  - name: slackChatApi
    url: https://raw.githubusercontent.com/api-evangelist/slack/refs/heads/main/openapi/slack-chat-openapi.yml
    type: openapi
workflows:
  - workflowId: meta-feed-to-notion-and-slack
    summary: Get a Meta user feed, log to Notion, then notify Slack.
    description: >-
      Fetches a Meta user's feed, records a summary page in Notion, then posts a
      Slack message confirming the archive with a link to the Notion page.
    inputs:
      type: object
      properties:
        userId:
          type: string
        notionDatabaseId:
          type: string
        slackChannel:
          type: string
    steps:
      - stepId: get-feed
        description: Retrieve the Meta user's feed via the Graph API.
        operationId: $sourceDescriptions.metaApi.getUserFeed
        successCriteria:
          - condition: $statusCode == 200
        outputs:
          feedData: $response.body#/data
      - stepId: log-to-notion
        description: Archive a summary of the feed as a Notion page.
        operationId: $sourceDescriptions.notionApi.createPage
        requestBody:
          contentType: application/json
          payload:
            parent:
              database_id: $inputs.notionDatabaseId
            properties:
              Name:
                title:
                  - text:
                      content: Meta feed archive for $inputs.userId
        successCriteria:
          - condition: $statusCode == 200
        outputs:
          pageId: $response.body#/id
      - stepId: notify-slack
        description: Notify Slack that the feed was archived to Notion.
        operationId: $sourceDescriptions.slackChatApi.postChatPostmessage
        requestBody:
          contentType: application/x-www-form-urlencoded
          payload:
            channel: $inputs.slackChannel
            text: Archived Meta feed to Notion page $steps.log-to-notion.outputs.pageId
        successCriteria:
          - condition: $statusCode == 200
        outputs:
          messageTs: $response.body#/ts
    outputs:
      pageId: $steps.log-to-notion.outputs.pageId
      messageTs: $steps.notify-slack.outputs.messageTs