Meta · Arazzo Workflow

Meta Update Current User Profile

Version 1.0.0

Resolve the current user, update their profile, then read it back to confirm.

1 workflow 1 source API 1 provider
View Spec View on GitHub AdvertisingAnalyticsArtificial IntelligenceMessagingSocialSocial-MediaVirtual RealityArazzoWorkflows

Provider

meta

Workflows

update-current-user-profile
Update the authenticated user's profile and verify the change.
Resolves the current user id, applies a profile update, and re-reads the user node to confirm the write.
3 steps inputs: accessToken, fields, updates outputs: name, updateSucceeded, userId
1
getCurrentUser
Resolve the authenticated user's id from the access token.
2
applyUpdate
Post the supplied update object to the resolved User node.
3
readBack
Re-read the User node to confirm the updated values persisted.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Meta Update Current User Profile
  summary: Resolve the current user, update their profile, then read it back to confirm.
  description: >-
    A read-after-write pattern against the User node. The workflow resolves the
    authenticated user with /me, posts an update to that user node, and then
    re-reads the user to confirm the new values persisted. The Graph API User
    update accepts a free-form object of writable fields, so the update payload
    is supplied by the caller. Every step inlines its request so the flow can be
    read and executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: usersApi
  url: ../openapi/meta-users-api-openapi.yml
  type: openapi
workflows:
- workflowId: update-current-user-profile
  summary: Update the authenticated user's profile and verify the change.
  description: >-
    Resolves the current user id, applies a profile update, and re-reads the
    user node to confirm the write.
  inputs:
    type: object
    required:
    - accessToken
    - updates
    properties:
      accessToken:
        type: string
        description: A Meta Graph API user access token.
      updates:
        type: object
        description: Map of writable User fields to update (e.g. name, local news settings).
      fields:
        type: string
        description: Comma-separated list of fields to read back after the update.
  steps:
  - stepId: getCurrentUser
    description: >-
      Resolve the authenticated user's id from the access token.
    operationId: getMe
    parameters:
    - name: access_token
      in: query
      value: $inputs.accessToken
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      userId: $response.body#/id
  - stepId: applyUpdate
    description: >-
      Post the supplied update object to the resolved User node.
    operationId: updateUser
    parameters:
    - name: user-id
      in: path
      value: $steps.getCurrentUser.outputs.userId
    - name: access_token
      in: query
      value: $inputs.accessToken
    requestBody:
      contentType: application/json
      payload: $inputs.updates
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      success: $response.body#/success
  - stepId: readBack
    description: >-
      Re-read the User node to confirm the updated values persisted.
    operationId: getUser
    parameters:
    - name: user-id
      in: path
      value: $steps.getCurrentUser.outputs.userId
    - name: fields
      in: query
      value: $inputs.fields
    - name: access_token
      in: query
      value: $inputs.accessToken
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      userId: $response.body#/id
      name: $response.body#/name
  outputs:
    userId: $steps.getCurrentUser.outputs.userId
    updateSucceeded: $steps.applyUpdate.outputs.success
    name: $steps.readBack.outputs.name

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/meta-update-current-user-profile-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.